tests: fix broken tests.

This commit is contained in:
evazion
2022-08-23 18:31:24 -05:00
parent 09dfab1f0d
commit e3af738371
16 changed files with 100 additions and 152 deletions

View File

@@ -52,7 +52,7 @@ class IpGeolocationTest < ActiveSupport::TestCase
should "work for a mobile IP" do
@ip = IpGeolocation.create_or_update!("37.173.153.166")
assert_equal("Free Mobile SAS", @ip.carrier)
assert_match(/Free Mobile/, @ip.carrier)
end
should "work for a proxy IP" do