tests: fix ip geolocation test.

This commit is contained in:
evazion
2021-02-15 00:38:59 -06:00
parent 3d01febcf7
commit 206ff2b836

View File

@@ -33,7 +33,7 @@ class IpGeolocationTest < ActiveSupport::TestCase
should "work for a residential IP" do
@ip = IpGeolocation.create_or_update!("2a01:0e35:2f22:e3d0::1")
assert_equal(28, @ip.network.prefix)
assert_equal(26, @ip.network.prefix)
assert_equal(false, @ip.is_proxy?)
assert_equal(49, @ip.latitude.round(0))
assert_equal(2, @ip.longitude.round(0))