use alt=false during cucumber testing
This commit is contained in:
parent
411603ea03
commit
9588ef00a5
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user