adapt tests to changed output, killed version and transactionId

This commit is contained in:
Dennis Luxen 2013-12-12 18:37:00 -05:00
parent d0b5929a9e
commit 4fc4e93ab5

View File

@ -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