Skip to content

Commit

Permalink
Fix wrong test definitions
Browse files Browse the repository at this point in the history
Just to clean up all the existing references to FreeGeoIP.
  • Loading branch information
dsantosmerino committed Oct 27, 2018
1 parent 46ffabe commit 155974f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_ip_api_geocoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def assert_url(expected_url)
assert_equal expected_url, TestHelper.last_url
end

def test_free_geo_ip_geocode
def test_ip_api_geocode
url = "http://ip-api.com/json/#{@ip}"
res = geocode(@ip, :ip_api_geocode)
assert_url url
Expand Down
2 changes: 1 addition & 1 deletion test/test_ipstack_geocoder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def assert_url(expected_url)
assert_equal expected_url, TestHelper.last_url
end

def test_free_geo_ip_geocode
def test_ipstack_geocode
url = "http://api.ipstack.com/#{@ip}?access_key=some_api_key"
res = geocode(@ip, :ipstack_geocode)

Expand Down

0 comments on commit 155974f

Please sign in to comment.