update tests to use new query delimter ? instead of &

This commit is contained in:
Emil Tin 2012-02-18 14:41:15 +01:00
parent b897b5d0e2
commit 429eb316d0

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