From 6a9fefd7232265a6bbb6b8281174769f2716b68d Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Wed, 9 Nov 2016 19:33:29 +0100 Subject: Remove (useless) click_link in StopPoints feature. Refs #1877 --- spec/features/stop_points_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/features/stop_points_spec.rb') diff --git a/spec/features/stop_points_spec.rb b/spec/features/stop_points_spec.rb index 34548f3dc..18cd97709 100644 --- a/spec/features/stop_points_spec.rb +++ b/spec/features/stop_points_spec.rb @@ -11,13 +11,13 @@ describe "StopPoints", :type => :feature do describe "from route's page to a stop points page" do it "display route's stop points" do visit referential_line_route_path(referential,line,route) - click_link "Liste des arrêts de la séquence d'arrêts" + #click_link "Liste des arrêts de la séquence d'arrêts" route.stop_areas.each do |sa| expect(page).to have_content(sa.name) end end end - + describe "from route's page, go to new stop point page" do it "display route's stop points" do visit referential_line_route_path(referential,line,route) -- cgit v1.2.3