aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/time_tables_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/time_tables_spec.rb')
-rw-r--r--spec/requests/time_tables_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/requests/time_tables_spec.rb b/spec/requests/time_tables_spec.rb
index 48bc5f0fd..fbe03db2b 100644
--- a/spec/requests/time_tables_spec.rb
+++ b/spec/requests/time_tables_spec.rb
@@ -13,34 +13,34 @@ describe "TimeTables" do
page.should have_content(time_tables.first.comment)
page.should have_content(time_tables.last.comment)
end
-
- end
- describe "show" do
+ end
+
+ describe "show" do
it "display time_table" do
visit referential_time_tables_path(referential)
click_link "#{time_tables.first.comment}"
page.should have_content(time_tables.first.comment)
end
-
+
end
- describe "new" do
+ describe "new" 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")
end
end
- describe "edit and return to show" do
+ describe "edit and return to show" 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