Skip to content

Commit ab61ae0

Browse files
committed
Fix comments in Shibboleth test
- The previous comments mistakenly stated that the user had no confirmation token.
1 parent b7d16c6 commit ab61ae0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/features/email_confirmation_spec.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@
6464
end
6565
end
6666

67-
scenario 'A user is unconfirmed but has no confirmation token.
67+
scenario 'A user has a confirmation token but is unconfirmed.
6868
There sign in attempt fails, and a custom flash message
6969
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
7071
user = create(:user, confirmed_at: nil)
7172
# Attempt to sign in the unconfirmed user
7273
sign_in(user)

0 commit comments

Comments
 (0)