X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d3d6e9902c8b03fcd31df253cf395f06f757880a..5bcf82d8658d1d9ae389807362f542189d21ec56:/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