X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3d6e9902c8b03fcd31df253cf395f06f757880a..f1397f47003f3b0c431b0fbf2503cc0d7e15e9bc:/test/integration/user_terms_seen_test.rb diff --git a/test/integration/user_terms_seen_test.rb b/test/integration/user_terms_seen_test.rb index 596cccc43..e8d3df07a 100644 --- a/test/integration/user_terms_seen_test.rb +++ b/test/integration/user_terms_seen_test.rb @@ -3,8 +3,8 @@ require "test_helper" class UserTermsSeenTest < ActionDispatch::IntegrationTest fixtures :users - setup do - stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1") + def setup + stub_hostip_requests end def test_api_blocked