tests: fix broken tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user