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 b7d16c6 commit ab61ae0Copy full SHA for ab61ae0
spec/features/email_confirmation_spec.rb
@@ -64,9 +64,10 @@
64
end
65
66
67
- scenario 'A user is unconfirmed but has no confirmation token.
+ scenario 'A user has a confirmation token but is unconfirmed.
68
There sign in attempt fails, and a custom flash message
69
is rendered that can be used to navigate to the confirmation page.', :js do
70
+ # Create a user with a confirmation token but make them unconfirmed
71
user = create(:user, confirmed_at: nil)
72
# Attempt to sign in the unconfirmed user
73
sign_in(user)
0 commit comments