aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/routes_spec.rb
diff options
context:
space:
mode:
authorLuc Donnet2016-11-20 16:11:17 +0100
committerLuc Donnet2016-11-20 16:11:17 +0100
commit033676f30c687002aadb9555a3bd6c71fadd5b27 (patch)
tree5161ea2c5a7b476c314da05c532e55243972f255 /spec/features/routes_spec.rb
parentfb8b8b292b09d29eb87b454cece5ec252776dc12 (diff)
parent9f9a3627c25ca9e174d794fb80c391d4eb48b03e (diff)
downloadchouette-core-033676f30c687002aadb9555a3bd6c71fadd5b27.tar.bz2
Merge branch 'master' of github.com:AF83/stif-boiv
Diffstat (limited to 'spec/features/routes_spec.rb')
-rw-r--r--spec/features/routes_spec.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb
index e76665b31..267e2597b 100644
--- a/spec/features/routes_spec.rb
+++ b/spec/features/routes_spec.rb
@@ -31,12 +31,11 @@ describe "Routes", :type => :feature do
describe "from line's page, create a new route" do
it "return to line's page that display new route" do
visit referential_line_path(referential,line)
- click_link "Ajouter une séquence d'arrêts"
+ click_link "Ajouter un itinéraire"
fill_in "route_name", :with => "A to B"
- fill_in "Indice", :with => "AB"
- select 'Aller', :from => "route_direction"
+ # select 'Aller', :from => "route_direction"
select 'Aller', :from => "route_wayback"
- click_button("Créer un(e) séquence d'arrêts")
+ click_button("Créer un itinéraire")
expect(page).to have_content("A to B")
end
end