X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3d6e9902c8b03fcd31df253cf395f06f757880a..72855280e75474735d0c2b65aae55a68eda71462:/test/integration/user_roles_test.rb?ds=sidebyside diff --git a/test/integration/user_roles_test.rb b/test/integration/user_roles_test.rb index e228489dd..edf1c7c4a 100644 --- a/test/integration/user_roles_test.rb +++ b/test/integration/user_roles_test.rb @@ -3,8 +3,8 @@ require "test_helper" class UserRolesTest < ActionDispatch::IntegrationTest fixtures :users, :user_roles - setup do - stub_request(:get, "http://api.hostip.info/country.php?ip=127.0.0.1") + def setup + stub_hostip_requests end test "grant" do