aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/features/routes_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb
index 6d9ba990d..7be506b57 100644
--- a/spec/features/routes_spec.rb
+++ b/spec/features/routes_spec.rb
@@ -36,10 +36,12 @@ describe "Routes", :type => :feature do
visit referential_line_path(referential, line)
click_link "Ajouter un itinéraire"
fill_in "route_name", :with => "A to B"
- # select 'Aller', :from => "route_direction"
+ fill_in "route_published_name", :with => "Published A to B"
check('route[wayback]')
click_button("Valider")
expect(page).to have_content("A to B")
+ expect(page).to have_content("Published A to B")
+
end
end