diff --git a/test/unit/result_test.rb b/test/unit/result_test.rb index c87f7fd2c2e994352f48b8fe7f3435405670f969..eeb579ee81c6c548ea83068711e5ebb60b117580 100644 --- a/test/unit/result_test.rb +++ b/test/unit/result_test.rb @@ -5,6 +5,7 @@ class ResultTest < GeocoderTestCase def test_forward_geocoding_result_has_required_attributes Geocoder::Lookup.all_services_except_test.each do |l| + next if l == :ip2location # has pay-per-attribute pricing model Geocoder.configure(:lookup => l) set_api_key!(l) result = Geocoder.search("Madison Square Garden").first @@ -14,6 +15,7 @@ class ResultTest < GeocoderTestCase def test_reverse_geocoding_result_has_required_attributes Geocoder::Lookup.all_services_except_test.each do |l| + next if l == :ip2location # has pay-per-attribute pricing model Geocoder.configure(:lookup => l) set_api_key!(l) result = Geocoder.search([45.423733, -75.676333]).first