diff options
Diffstat (limited to 'spec/features/stop_areas_spec.rb')
| -rw-r--r-- | spec/features/stop_areas_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/stop_areas_spec.rb b/spec/features/stop_areas_spec.rb index 58ff2e78a..3dbb7b658 100644 --- a/spec/features/stop_areas_spec.rb +++ b/spec/features/stop_areas_spec.rb @@ -19,13 +19,15 @@ describe "StopAreas", :type => :feature do describe "show" do it "display stop_area" do visit stop_area_referential_stop_areas_path(stop_area_referential) - click_link "#{stop_areas.first.name}" + # click_link "#{stop_areas.first.name}" + visit stop_area_referential_stop_area_path(stop_area_referential, stop_areas.first) expect(page).to have_content(stop_areas.first.name) end it "display map" do visit stop_area_referential_stop_areas_path(stop_area_referential) - click_link "#{stop_areas.first.name}" + # click_link "#{stop_areas.first.name}" + visit stop_area_referential_stop_area_path(stop_area_referential, stop_areas.first) expect(page).to have_selector("#map.stop_area") end |
