Skip to content
Snippets Groups Projects
Commit db82c030 authored by Tamas Erdos's avatar Tamas Erdos
Browse files

making sure test config doesnt impact other tests

parent 7b044bc8
No related branches found
No related tags found
No related merge requests found
......@@ -22,12 +22,12 @@ class EsriTest < GeocoderTestCase
query = Geocoder::Query.new("Bluffton, SC")
lookup = Geocoder::Lookup.get(:esri)
res = lookup.query_url(query)
Geocoder.configure(esri: {token: nil, for_storage: nil})
assert_equal "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find?f=pjson&forStorage=true&outFields=%2A&text=Bluffton%2C+SC&token=xxxxx",
res
end
def test_query_for_reverse_geocode
Geocoder.configure(esri: {token: nil, for_storage: nil})
query = Geocoder::Query.new([45.423733, -75.676333])
lookup = Geocoder::Lookup.get(:esri)
res = lookup.query_url(query)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment