aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/stop_areas_spec.rb
diff options
context:
space:
mode:
authorjpl2016-11-29 18:38:22 +0100
committerjpl2016-11-29 18:38:22 +0100
commit8ebe68c90e7003429c86db67dcb946845cd96d3e (patch)
tree5a4792bc300dbc15328d651113f531f09dc9f48c /spec/features/stop_areas_spec.rb
parentb0fc4c2a5b23fe9546ae93164a965915860a43ba (diff)
downloadchouette-core-8ebe68c90e7003429c86db67dcb946845cd96d3e.tar.bz2
Refs #2019: updating stop_areas with table builder
Diffstat (limited to 'spec/features/stop_areas_spec.rb')
-rw-r--r--spec/features/stop_areas_spec.rb6
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