]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Use user factory for user_roles_controller tests.
[rails.git] / test / integration / user_terms_seen_test.rb
index a664feeb0aa13bca045bb7d438aa4dea4a0ad021..e8d3df07a5618f5812c5d110190ff33ca638f84b 100644 (file)
@@ -3,6 +3,10 @@ require "test_helper"
 class UserTermsSeenTest < ActionDispatch::IntegrationTest
   fixtures :users
 
+  def setup
+    stub_hostip_requests
+  end
+
   def test_api_blocked
     with_terms_seen(true) do
       user = users(:terms_not_seen_user)