Skip to content

Commit

Permalink
use alt=false during cucumber testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Emil Tin committed May 10, 2013
1 parent 411603e commit 9588ef0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions features/bicycle/area.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion features/support/route.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def request_path path, waypoints=[], options={}
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

Expand Down
3 changes: 2 additions & 1 deletion features/testbot/bad.feature
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Feature: Handle bad data in a graceful manner
When I route I should get
| from | to | route |
| a | b | ab |


@todo
Scenario: Start/end point at the same location
Given the node map
| a | b |
Expand Down

0 comments on commit 9588ef0

Please sign in to comment.