aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/routes_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/routes_spec.rb')
-rw-r--r--spec/features/routes_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb
index dcaf88b85..5aea98c90 100644
--- a/spec/features/routes_spec.rb
+++ b/spec/features/routes_spec.rb
@@ -13,7 +13,7 @@ describe "Routes", :type => :feature do
describe "from lines page to a line page" do
it "display line's routes" do
visit referential_lines_path(referential)
- click_link "Voir"
+ first(:link, 'Voir').click
expect(page).to have_content(route.name)
expect(page).to have_content(route2.name)
end