aboutsummaryrefslogtreecommitdiffstats
path: root/spec/requests/journey_pattern_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/journey_pattern_spec.rb')
-rw-r--r--spec/requests/journey_pattern_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/requests/journey_pattern_spec.rb b/spec/requests/journey_pattern_spec.rb
index 7c62dd56b..07b3be5da 100644
--- a/spec/requests/journey_pattern_spec.rb
+++ b/spec/requests/journey_pattern_spec.rb
@@ -11,12 +11,14 @@ describe "JourneyPatterns" do
describe "from routes page to a journey_pattern page" do
it "display route's journey_patterns" do
+ pending
visit referential_line_route_path(referential,line,route)
page.should have_content(journey_pattern.name)
end
end
describe "from route's page to journey_pattern's page" do
it "display journey_pattern properties" do
+ pending
visit referential_line_route_path(referential,line,route)
click_link "#{journey_pattern.name}"
page.should have_content(journey_pattern.published_name)
@@ -26,6 +28,7 @@ describe "JourneyPatterns" do
end
describe "from route's page, create a new journey_pattern" do
it "return to route's page that display new journey_pattern" do
+ pending
visit referential_line_route_path(referential,line,route)
click_link "Ajouter une mission"
fill_in "Nom", :with => "A to B"
@@ -36,6 +39,7 @@ describe "JourneyPatterns" do
end
describe "from route's page, select a journey_pattern and edit it" do
it "return to route's page with changed name" do
+ pending
visit referential_line_route_path(referential,line,route)
click_link "#{journey_pattern.name}"
click_link "Modifier cette mission"
@@ -46,6 +50,7 @@ describe "JourneyPatterns" do
end
describe "from route's page, select a journey_pattern and delete it" do
it "return to route's page without journey_pattern name" do
+ pending
visit referential_line_route_path(referential,line,route)
click_link "#{journey_pattern.name}"
click_link "Supprimer cette mission"