diff --git a/features/oneway.feature b/features/oneway.feature index 1e5bc358c..7338f4a56 100644 --- a/features/oneway.feature +++ b/features/oneway.feature @@ -2,12 +2,17 @@ Feature: Oneway streets Handle oneways streets, as defined at http://wiki.openstreetmap.org/wiki/OSM_tags_for_routing - @ba Scenario: Simple oneway - Given the defaults - Then routability should be - | highway | oneway | forw | backw | - | primary | yes | x | | + Given the speedprofile "car" + Then routability should be + | highway | oneway | forw | backw | + | primary | yes | x | | + + Scenario: Simple reverse oneway + Given the speedprofile "car" + Then routability should be + | highway | oneway | forw | backw | + | primary | -1 | | x | Scenario: Around the Block Given the nodes @@ -43,12 +48,6 @@ Feature: Oneway streets | b | x | | | b | y | | - Scenario: Simplest possible oneway - Given the speedprofile "bicycle" - Then routability should be - | highway | oneway | forw | backw | - | primary | yes | x | | - Scenario: Handle various oneway tag values Given the speedprofile "bicycle" Then routability should be diff --git a/features/support/hooks.rb b/features/support/hooks.rb index 9c88fa57c..4786eef38 100644 --- a/features/support/hooks.rb +++ b/features/support/hooks.rb @@ -7,7 +7,7 @@ Before do |scenario| end Around('@routing') do |scenario, block| - Timeout.timeout(5) do + Timeout.timeout(10) do block.call end end