Merge pull request #168 from emiltin/cuke_updated_api
updated cucumber test to use loc= query params
This commit is contained in:
commit
b253721df4
@ -1,7 +1,7 @@
|
||||
require 'net/http'
|
||||
|
||||
def request_route a,b
|
||||
@query = "http://localhost:5000/viaroute?start=#{a}&dest=#{b}&output=json&geomformat=cmp"
|
||||
@query = "http://localhost:5000/viaroute?loc=#{a}&loc=#{b}&output=json&geomformat=cmp"
|
||||
#log @query
|
||||
uri = URI.parse @query
|
||||
Net::HTTP.get_response uri
|
||||
|
Loading…
Reference in New Issue
Block a user