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

Use more specific assertion.

parent 0a0d359c
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ class QueryTest < GeocoderTestCase ...@@ -47,7 +47,7 @@ class QueryTest < GeocoderTestCase
def test_custom_lookup def test_custom_lookup
query = Geocoder::Query.new("address", :lookup => :nominatim) query = Geocoder::Query.new("address", :lookup => :nominatim)
assert_equal Geocoder::Lookup::Nominatim, query.lookup.class assert_instance_of Geocoder::Lookup::Nominatim, query.lookup
end end
def test_force_specify_ip_address def test_force_specify_ip_address
......
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