]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/passwords_controller_test.rb
Merge remote-tracking branch 'upstream/pull/4078'
[rails.git] / test / controllers / passwords_controller_test.rb
index 8a6e0b90171e121fcb80fced21128fb11861d94d..0a3a32c521cc6f5746d75ff6dcb25c97f5fd66b8 100644 (file)
@@ -81,7 +81,7 @@ class PasswordsControllerTest < ActionDispatch::IntegrationTest
     end
     assert_response :success
     assert_template :lost_password
-    assert_select ".error", /^Could not find that email address/
+    assert_select ".alert.alert-danger", /^Could not find that email address/
 
     # Test resetting using the address as recorded for a user that has an
     # address which is case insensitively unique