diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 4a7126fd080..a70c16ae07a 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -284,6 +284,6 @@ def setup test_user = users(:admin) email_verification_token = test_user.generate_token get :verify_email, params: { token: email_verification_token } - assert test_user.is_verified + assert_equal "Successfully verified email", flash[:notice] end end