Merge pull request #124 from emiltin/query_delimiter

update tests to use new query delimter ? instead of &
This commit is contained in:
Project OSRM 2012-02-18 10:21:57 -08:00
commit 045b1e0cb8

View File

@ -1,7 +1,7 @@
require 'net/http' require 'net/http'
def request_route a,b def request_route a,b
@query = "http://localhost:5000/viaroute&start=#{a}&dest=#{b}&output=json&geomformat=cmp" @query = "http://localhost:5000/viaroute?start=#{a}&dest=#{b}&output=json&geomformat=cmp"
#log @query #log @query
uri = URI.parse @query uri = URI.parse @query
Net::HTTP.get_response uri Net::HTTP.get_response uri