Skip to content
Snippets Groups Projects
Commit 720174d1 authored by Alex Reisner's avatar Alex Reisner
Browse files

Use lookup indicated by test file.

parent a1175fef
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ class PeliasTest < GeocoderTestCase ...@@ -23,7 +23,7 @@ class PeliasTest < GeocoderTestCase
end end
def test_query_for_reverse_geocode def test_query_for_reverse_geocode
lookup = Geocoder::Lookup::Mapzen.new lookup = Geocoder::Lookup::Pelias.new
url = lookup.query_url(Geocoder::Query.new([45.423733, -75.676333])) url = lookup.query_url(Geocoder::Query.new([45.423733, -75.676333]))
assert_match(/point.lat=45.423733&point.lon=-75.676333&size=1/, url) assert_match(/point.lat=45.423733&point.lon=-75.676333&size=1/, url)
end end
......
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