Removing deprecated API call from tests
This commit is contained in:
parent
94657a3258
commit
210f586d49
@ -4,7 +4,7 @@ DESTINATION_REACHED = 15 #OSRM instruction code
|
|||||||
|
|
||||||
|
|
||||||
def request_route a,b
|
def request_route a,b
|
||||||
@query = "http://localhost:5000/viaroute?loc=#{a}&loc=#{b}&output=json&geomformat=cmp"
|
@query = "http://localhost:5000/viaroute?loc=#{a}&loc=#{b}&output=json"
|
||||||
#log @query
|
#log @query
|
||||||
uri = URI.parse @query
|
uri = URI.parse @query
|
||||||
Net::HTTP.get_response uri
|
Net::HTTP.get_response uri
|
||||||
|
Loading…
Reference in New Issue
Block a user