aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features/routes_spec.rb
diff options
context:
space:
mode:
authorjpl2016-11-20 15:49:01 +0100
committerjpl2016-11-20 15:49:01 +0100
commit9f9a3627c25ca9e174d794fb80c391d4eb48b03e (patch)
tree7794cc266eebfa7e5af6802e23f8962d241f10de /spec/features/routes_spec.rb
parent31e0170480c68744a61e7211b5b7c7a5f1259096 (diff)
downloadchouette-core-9f9a3627c25ca9e174d794fb80c391d4eb48b03e.tar.bz2
Refs #1995: update route#new & route#edit (fix tests)
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