fixing test to actually test wanted behavior

This commit is contained in:
Dennis Luxen 2013-06-25 10:56:02 -04:00
parent 17416a09f1
commit 4c8579b340

View File

@ -3,23 +3,24 @@ Feature: Car - Handle ferryshuttle train routes
Background: Background:
Given the profile "car" Given the profile "car"
Scenario: Car - Use a ferry route Scenario: Car - Use a ferry route
Given the node map Given the node map
| a | b | c | | | | a | b | c | | | |
| | | d | | | | | | d | | | |
| | | e | f | g | | | | e | f | g | h |
And the ways And the ways
| nodes | highway | route | bicycle | | nodes | highway | route | bicycle |
| abc | primary | | | | abc | primary | | |
| cde | | shuttle_train | yes | | cde | | shuttle_train | yes |
| ef | primary | | | | ef | primary | | |
| fg | | ferry_man | | | fg | | ferry_man | |
| gh | primary | | no |
When I route I should get When I route I should get
| from | to | route | | from | to | route |
| a | g | abc,cde,ef | | a | f | abc,cde,ef |
| b | f | abc,cde,ef | | b | f | abc,cde,ef |
| e | c | cde | | e | c | cde |
| e | b | cde,abc | | e | b | cde,abc |
@ -27,5 +28,6 @@ Feature: Car - Handle ferryshuttle train routes
| c | e | cde | | c | e | cde |
| c | f | cde,ef | | c | f | cde,ef |
| f | g | | | f | g | |
| g | h | gh |