aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Etienne2014-06-27 09:57:12 +0200
committerMichel Etienne2014-06-27 09:57:12 +0200
commitd0fab4ceb090979e3d0684f55392e3df2185aada (patch)
treed20e3d6c7ff451559c61754a27a14b44dd872b08
parent5d5772b88b4649c915ecd0d5999327a0a97cd606 (diff)
downloadchouette-core-d0fab4ceb090979e3d0684f55392e3df2185aada.tar.bz2
correct spec failure on timetables
-rw-r--r--spec/requests/time_tables_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/time_tables_spec.rb b/spec/requests/time_tables_spec.rb
index 48bc5f0fd..3fee137ef 100644
--- a/spec/requests/time_tables_spec.rb
+++ b/spec/requests/time_tables_spec.rb
@@ -29,7 +29,7 @@ describe "TimeTables" do
it "creates time_table and return to show" do
visit referential_time_tables_path(referential)
click_link "Ajouter un calendrier"
- fill_in "Description", :with => "TimeTable 1"
+ fill_in "Nom", :with => "TimeTable 1"
fill_in "Identifiant Neptune", :with => "test:Timetable:1"
click_button("Créer Calendrier")
page.should have_content("TimeTable 1")
@@ -40,7 +40,7 @@ describe "TimeTables" do
it "edit time_table" do
visit referential_time_table_path(referential, subject)
click_link "Modifier ce calendrier"
- fill_in "Description", :with => "TimeTable Modified"
+ fill_in "Nom", :with => "TimeTable Modified"
click_button("Modifier Calendrier")
page.should have_content("TimeTable Modified")
end