Sha256: c758dfd2984c598cfa45d547be3d186cc42ea94c585c2054427979ce87eadb44
Contents?: true
Size: 308 Bytes
Versions: 5
Compression:
Stored size: 308 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' class TestGeoip < Minitest::Test def setup data = '/usr/share/GeoIP/GeoIP.dat' begin @g = GeoIP.new(data) rescue Errno::ENOENT => e skip e.message end end def test_constructor assert_instance_of GeoIP, @g end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
geoip-1.6.4 | test/test_geoip.rb |
geoip-1.6.3 | test/test_geoip.rb |
geoip-1.6.2 | test/test_geoip.rb |
geoip-1.6.1 | test/test_geoip.rb |
geoip-1.5.0 | test/test_geoip.rb |