From 4fc4e93ab578a9262543e65443cbf72d38e38479 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Thu, 12 Dec 2013 18:37:00 -0500 Subject: [PATCH] adapt tests to changed output, killed version and transactionId --- features/step_definitions/requests.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/step_definitions/requests.rb b/features/step_definitions/requests.rb index fb1f9f8b7..c84ff7110 100644 --- a/features/step_definitions/requests.rb +++ b/features/step_definitions/requests.rb @@ -16,9 +16,7 @@ Then /^response should be valid JSON$/ do end Then /^response should be well-formed$/ do - @json['version'].class.should == Float @json['status'].class.should == Fixnum - @json['transactionId'].class.should == String end Then /^response should be a well-formed route$/ do @@ -28,6 +26,7 @@ Then /^response should be a well-formed route$/ do @json['route_geometry'].class.should == String @json['route_instructions'].class.should == Array @json['via_points'].class.should == Array + @json['via_indices'].class.should == Array end When /^I preprocess data$/ do