From 396ac1f09cd8c9675d8fc34e512b2a1ffeae3b86 Mon Sep 17 00:00:00 2001 From: Alban Peignier Date: Sun, 20 Nov 2016 16:59:30 +0100 Subject: Disable meaningless feature Routes 'modifies boarding/alighting properties'. Refs #1995 --- spec/features/routes_spec.rb | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb index 8667a4a6f..e5f21ee73 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 + xit "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