1
0
Fork 0
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:
Carlos A. da Silva 2009-10-18 10:39:22 -02:00
parent 8d85db3b57
commit f1bb64fb1e
2 changed files with 3 additions and 3 deletions

View file

@ -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'

View file

@ -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