]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_roles_test.rb
Use user factory for user_roles_controller tests.
[rails.git] / test / integration / user_roles_test.rb
index 5732430255d8b1703f1e1bfb35e13ca33475607f..edf1c7c4a9deafc62065e6c41e33c82bb8ed7a46 100644 (file)
@@ -3,6 +3,10 @@ require "test_helper"
 class UserRolesTest < ActionDispatch::IntegrationTest
   fixtures :users, :user_roles
 
+  def setup
+    stub_hostip_requests
+  end
+
   test "grant" do
     check_fail(:grant, :public_user, :moderator)
     check_fail(:grant, :moderator_user, :moderator)