We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b133a37 commit 9ee7a88Copy full SHA for 9ee7a88
1 file changed
test/integration/confirmable_test.rb
@@ -363,7 +363,8 @@ def visit_admin_confirmation_with_token(confirmation_token)
363
confirmation_token: "different token"
364
)
365
366
- # now we update to the same prior unconfirmed email address, and confirm
+ # 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)
369
attacker_token = attacker.raw_confirmation_token
370
visit_admin_confirmation_with_token(attacker_token)
0 commit comments