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
+1 -1
View File
@@ -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?start=#{a}&dest=#{b}&output=json&geomformat=cmp"
#log @query
uri = URI.parse @query
Net::HTTP.get_response uri