]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_terms_seen_test.rb
Convert more 'setup do' to 'def setup' for consistency
[rails.git] / test / integration / user_terms_seen_test.rb
index a664feeb0aa13bca045bb7d438aa4dea4a0ad021..deb705f81be959c9de59654ce96dd9761cac8b99 100644 (file)
@@ -3,6 +3,10 @@ require "test_helper"
 class UserTermsSeenTest < ActionDispatch::IntegrationTest
   fixtures :users
 
+  def setup
+    stub_signup_requests
+  end
+
   def test_api_blocked
     with_terms_seen(true) do
       user = users(:terms_not_seen_user)