Sha256: 5b0557d8f8ee970b01534fefbccaa75ece806eae0b9514f5bf6e51d77bc04d80
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
require File.join(File.dirname(__FILE__), 'helper') class MaxmindGeocoderTest < BaseGeocoderTest #:nodoc: all def setup super @ip = '118.210.47.142' end def test_ip VCR.use_cassette('maxmind_ip') do res = Geokit::Geocoders::MaxmindGeocoder.geocode(@ip) assert_equal 'Adelaide', res.city end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geokit-1.7.1 | test/test_maxmind_geocoder.rb |
geokit-1.7.0 | test/test_maxmind_geocoder.rb |