mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-06 03:01:21 -04:00
Removes the bang in confirm! and reset_password!
Closes #3412 and #3570.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user