use alt=false during cucumber testing

This commit is contained in:
Emil Tin 2013-05-10 17:17:24 +02:00
parent 411603ea03
commit 9588ef00a5
3 changed files with 11 additions and 10 deletions

View File

@ -41,14 +41,14 @@ Feature: Bike - Squares and other areas
When I route I should get
| from | to | route |
| a | b | |
| a | d | |
| b | c | |
| c | b | |
| c | d | |
| d | c | |
| d | a | |
| a | d | |
| a | b | xa |
| a | d | xa |
| b | c | xa |
| c | b | xa |
| c | d | xa |
| d | c | xa |
| d | a | xa |
| a | d | xa |
@parking
Scenario: Bike - parking areas

View File

@ -27,7 +27,7 @@ rescue Timeout::Error
end
def request_route waypoints, params={}
defaults = { 'output' => 'json', 'instructions' => true, 'alt' => true }
defaults = { 'output' => 'json', 'instructions' => true, 'alt' => false }
request_path "viaroute", waypoints, defaults.merge(params)
end

View File

@ -27,6 +27,7 @@ Feature: Handle bad data in a graceful manner
| from | to | route |
| a | b | ab |
@todo
Scenario: Start/end point at the same location
Given the node map
| a | b |