We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ee7a88 commit cfa56a4Copy full SHA for cfa56a4
test/integration/confirmable_test.rb
@@ -365,7 +365,7 @@ def visit_admin_confirmation_with_token(confirmation_token)
365
366
# Now the attacker updates to the same prior unconfirmed email address, and confirm.
367
# This should update the `unconfirmed_email` in the database, even though it is unchanged from the models point of view.
368
- attacker.update(email: attacker_email)
+ attacker.update!(email: attacker_email)
369
attacker_token = attacker.raw_confirmation_token
370
visit_admin_confirmation_with_token(attacker_token)
371
0 commit comments