From 9588ef00a55519b6b75250ee782743fb00038761 Mon Sep 17 00:00:00 2001 From: Emil Tin Date: Fri, 10 May 2013 17:17:24 +0200 Subject: [PATCH] use alt=false during cucumber testing --- features/bicycle/area.feature | 16 ++++++++-------- features/support/route.rb | 2 +- features/testbot/bad.feature | 3 ++- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/features/bicycle/area.feature b/features/bicycle/area.feature index 5f23e182d..541f02631 100644 --- a/features/bicycle/area.feature +++ b/features/bicycle/area.feature @@ -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 diff --git a/features/support/route.rb b/features/support/route.rb index 86ea263fd..9cfbbfa14 100644 --- a/features/support/route.rb +++ b/features/support/route.rb @@ -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 diff --git a/features/testbot/bad.feature b/features/testbot/bad.feature index 77a660776..f57e4dd17 100644 --- a/features/testbot/bad.feature +++ b/features/testbot/bad.feature @@ -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 |