]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_roles_test.rb
Extract the hostip.info stubbing into a common method.
[rails.git] / test / integration / user_roles_test.rb
index 5732430255d8b1703f1e1bfb35e13ca33475607f..2613c402cea5988611b970423c8a111ed738d99b 100644 (file)
@@ -3,6 +3,10 @@ require "test_helper"
 class UserRolesTest < ActionDispatch::IntegrationTest
   fixtures :users, :user_roles
 
+  setup do
+    stub_signup_requests
+  end
+
   test "grant" do
     check_fail(:grant, :public_user, :moderator)
     check_fail(:grant, :moderator_user, :moderator)