adapt tests to changed output, killed version and transactionId
This commit is contained in:
		
							parent
							
								
									d0b5929a9e
								
							
						
					
					
						commit
						4fc4e93ab5
					
				| @ -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 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user