mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update flash messages to show signed in automatically info.
This commit is contained in:
parent
8d85db3b57
commit
f1bb64fb1e
2 changed files with 3 additions and 3 deletions
|
@ -6,10 +6,10 @@ en:
|
|||
unauthenticated: 'Invalid email or password.'
|
||||
passwords:
|
||||
send_instructions: 'You will receive an email with instructions about how to reset your password in a few minutes.'
|
||||
updated: 'Your password was changed successfully.'
|
||||
updated: 'Your password was changed successfully. You are now signed in.'
|
||||
confirmations:
|
||||
send_instructions: 'You will receive an email with instructions about how to confirm your account in a few minutes.'
|
||||
confirmed: 'Your account was successfully confirmed!'
|
||||
confirmed: 'Your account was successfully confirmed. You are now signed in.'
|
||||
notifier:
|
||||
confirmation_instructions: 'Confirmation instructions'
|
||||
reset_password_instructions: 'Reset password instructions'
|
||||
|
|
|
@ -37,7 +37,7 @@ class ConfirmationTest < ActionController::IntegrationTest
|
|||
visit_user_confirmation_with_token(user.confirmation_token)
|
||||
|
||||
assert_template 'home/index'
|
||||
assert_contain 'Your account was successfully confirmed!'
|
||||
assert_contain 'Your account was successfully confirmed.'
|
||||
|
||||
assert user.reload.confirmed?
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue