aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/routes_spec.rb
diff options
context:
space:
mode:
authorRobert2017-05-31 15:00:45 +0200
committerRobert2017-05-31 15:00:45 +0200
commitb561d04020be9015b2eea88e92c6eedc1f529d53 (patch)
treea1fb8c52f69e2bc15a4a59f39266a102a121602b /spec/features/routes_spec.rb
parent203b94aac86fc18ccb68885dea188a972cea870d (diff)
downloadchouette-core-b561d04020be9015b2eea88e92c6eedc1f529d53.tar.bz2
hotfix invalid spec (missing field route_public_name)
Diffstat (limited to 'spec/features/routes_spec.rb')
-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