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
|
When I route I should get
|
||||||
| from | to | route |
|
| from | to | route |
|
||||||
| a | b | |
|
| a | b | xa |
|
||||||
| a | d | |
|
| a | d | xa |
|
||||||
| b | c | |
|
| b | c | xa |
|
||||||
| c | b | |
|
| c | b | xa |
|
||||||
| c | d | |
|
| c | d | xa |
|
||||||
| d | c | |
|
| d | c | xa |
|
||||||
| d | a | |
|
| d | a | xa |
|
||||||
| a | d | |
|
| a | d | xa |
|
||||||
|
|
||||||
@parking
|
@parking
|
||||||
Scenario: Bike - parking areas
|
Scenario: Bike - parking areas
|
||||||
|
@ -27,7 +27,7 @@ rescue Timeout::Error
|
|||||||
end
|
end
|
||||||
|
|
||||||
def request_route waypoints, params={}
|
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)
|
request_path "viaroute", waypoints, defaults.merge(params)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ Feature: Handle bad data in a graceful manner
|
|||||||
| from | to | route |
|
| from | to | route |
|
||||||
| a | b | ab |
|
| a | b | ab |
|
||||||
|
|
||||||
|
@todo
|
||||||
Scenario: Start/end point at the same location
|
Scenario: Start/end point at the same location
|
||||||
Given the node map
|
Given the node map
|
||||||
| a | b |
|
| a | b |
|
||||||
|
Loading…
Reference in New Issue
Block a user