Removes the bang in confirm! and reset_password!

Closes #3412 and #3570.
This commit is contained in:
Nicolas Viennot
2015-04-19 10:41:06 -04:00
parent 2f0002a449
commit c22e7133b6
11 changed files with 68 additions and 54 deletions

View File

@@ -8,7 +8,7 @@ class CustomRegistrationsControllerTest < ActionController::TestCase
setup do
request.env["devise.mapping"] = Devise.mappings[:user]
@password = 'password'
@user = create_user(password: @password, password_confirmation: @password).tap(&:confirm!)
@user = create_user(password: @password, password_confirmation: @password).tap(&:confirm)
end
test "yield resource to block on create success" do