diff options
Diffstat (limited to 'spec/requests/stop_areas_spec.rb')
| -rw-r--r-- | spec/requests/stop_areas_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/requests/stop_areas_spec.rb b/spec/requests/stop_areas_spec.rb index acc32bdc8..e15ac001c 100644 --- a/spec/requests/stop_areas_spec.rb +++ b/spec/requests/stop_areas_spec.rb @@ -10,6 +10,7 @@ describe "StopAreas" do describe "list" do it "display stop_areas" do + pending visit referential_stop_areas_path(referential) page.should have_content(stop_areas.first.name) page.should have_content(stop_areas.last.name) @@ -20,12 +21,14 @@ describe "StopAreas" do describe "show" do it "display stop_area" do + pending visit referential_stop_areas_path(referential) click_link "#{stop_areas.first.name}" page.should have_content(stop_areas.first.name) end it "display map" do + pending visit referential_stop_areas_path(referential) click_link "#{stop_areas.first.name}" page.should have_selector("#map", :class => 'stop_area') @@ -35,6 +38,7 @@ describe "StopAreas" do describe "new" do it "creates stop_area and return to show" do + pending visit referential_stop_areas_path(referential) click_link "Ajouter un arrĂȘt" fill_in "Nom", :with => "StopArea 1" @@ -47,6 +51,7 @@ describe "StopAreas" do describe "edit and return to show" do it "edit stop_area" do + pending visit referential_stop_area_path(referential, subject) click_link "Modifier cet arrĂȘt" fill_in "Nom", :with => "StopArea Modified" |
