Skip to content

Commit fd75d8a

Browse files
silvanocerzamax-ipinfo
authored andcommitted
Fix tests
1 parent 3a03485 commit fd75d8a

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

test/ipinfo_test.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ class IPinfoTest < Minitest::Test
99
def assert_ip6(resp)
1010
assert_equal(resp.ip, TEST_IPV6)
1111
assert_equal(resp.ip_address, IPAddr.new(TEST_IPV6))
12-
assert_equal(resp.city, 'Osaka')
13-
assert_equal(resp.region, 'Osaka')
12+
assert_equal(resp.city, 'Hiroshima')
13+
assert_equal(resp.region, 'Hiroshima')
1414
assert_equal(resp.country, 'JP')
1515
assert_equal(resp.country_name, 'Japan')
1616
assert_equal(resp.is_eu, false)
17-
assert_equal(resp.loc, '34.6938,135.5011')
18-
assert_equal(resp.latitude, '34.6938')
19-
assert_equal(resp.longitude, '135.5011')
20-
assert_equal(resp.postal, '543-0062')
17+
assert_equal(resp.loc, '34.4000,132.4500')
18+
assert_equal(resp.latitude, '34.4000')
19+
assert_equal(resp.longitude, '132.4500')
20+
assert_equal(resp.postal, '730-0011')
2121
assert_equal(resp.timezone, 'Asia/Tokyo')
2222
assert_equal(resp.country_flag_url, 'https://cdn.ipinfo.io/static/images/countries-flags/JP.svg')
2323
assert_equal(

0 commit comments

Comments
 (0)