From 04331e29bb023577d40a0070276feeb526362a23 Mon Sep 17 00:00:00 2001 From: Alex Reisner <alex@alexreisner.com> Date: Fri, 27 May 2016 11:46:40 -0400 Subject: [PATCH] Remove test. Wasn't testing what it claimed to be testing. --- test/unit/lookups/ipapi_com_test.rb | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/unit/lookups/ipapi_com_test.rb b/test/unit/lookups/ipapi_com_test.rb index ce2fe3bb..103bbaf7 100644 --- a/test/unit/lookups/ipapi_com_test.rb +++ b/test/unit/lookups/ipapi_com_test.rb @@ -85,11 +85,4 @@ class IpapiComTest < GeocoderTestCase g = Geocoder::Lookup::IpapiCom.new assert_equal "https://pro.ip-api.com/json/74.200.247.59?key=MY_KEY", g.query_url(Geocoder::Query.new("74.200.247.59")) end - - def test_invalid_api_key - Geocoder.configure(:api_key => "MY_KEY") - result = Geocoder.search("74.200.247.60").first - assert_equal nil, result - end - end -- GitLab