]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Update rubocop class length limit.
[rails.git] / test / controllers / user_controller_test.rb
index 0e21f1d6729f2fd26c2632e3ef1289093d4e4b5f..3232b9e2ed50e293ff6ba9b1274c214b252e7505 100644 (file)
@@ -733,7 +733,7 @@ class UserControllerTest < ActionController::TestCase
   end
 
   def test_reset_password
-    user = create(:user)
+    user = create(:user, :pending)
     # Test a request with no token
     get :reset_password
     assert_response :bad_request