From 5e930d12da90b263f845b9d5d8cfd7697b3dfce3 Mon Sep 17 00:00:00 2001 From: Luc Donnet Date: Sun, 20 Nov 2016 16:50:56 +0100 Subject: Fix spec because link for boarding and alighting are commented --- spec/features/routes_spec.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'spec/features') diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb index 267e2597b..8667a4a6f 100644 --- a/spec/features/routes_spec.rb +++ b/spec/features/routes_spec.rb @@ -40,18 +40,18 @@ describe "Routes", :type => :feature do end end - describe "Modifies boarding/alighting properties on route stops" do - it "Puts (http) an update request" do - #visit edit_boarding_alighting_referential_line_route_path(referential, line, route) - visit referential_line_route_path(referential, line, route) - click_link I18n.t('routes.actions.edit_boarding_alighting') - #select('', :from => '') - # Changes the boarding of the first stop - # Changes the alighting of the last stop - # save - #click_button(I18n.t('helpers.submit.update', model: I18n.t('activerecord.models.route.one'))) - click_button(I18n.t('helpers.submit.update', model: I18n.t('activerecord.models.route.one'))) - end - end + # describe "Modifies boarding/alighting properties on route stops" do + # it "Puts (http) an update request" do + # #visit edit_boarding_alighting_referential_line_route_path(referential, line, route) + # visit referential_line_route_path(referential, line, route) + # click_link I18n.t('routes.actions.edit_boarding_alighting') + # #select('', :from => '') + # # Changes the boarding of the first stop + # # Changes the alighting of the last stop + # # save + # #click_button(I18n.t('helpers.submit.update', model: I18n.t('activerecord.models.route.one'))) + # click_button(I18n.t('helpers.submit.update', model: I18n.t('activerecord.models.route.one'))) + # end + # end end -- cgit v1.2.3