mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
fix unlock message
This commit is contained in:
parent
3bd78cabd8
commit
41b1e87105
2 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ en:
|
||||||
locked: 'locked'
|
locked: 'locked'
|
||||||
unlocks:
|
unlocks:
|
||||||
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
|
send_instructions: 'You will receive an email with instructions about how to unlock your account in a few minutes.'
|
||||||
unlocked: 'Your account was successfully unlocked. You are now signed in.'
|
unlocked: 'Your account has been unlocked successfully. Please sign in to continue.'
|
||||||
send_paranoid_instructions: 'If your account exists, you will receive an email with instructions about how to unlock it in a few minutes.'
|
send_paranoid_instructions: 'If your account exists, you will receive an email with instructions about how to unlock it in a few minutes.'
|
||||||
omniauth_callbacks:
|
omniauth_callbacks:
|
||||||
success: 'Successfully authorized from %{kind} account.'
|
success: 'Successfully authorized from %{kind} account.'
|
||||||
|
|
|
@ -81,7 +81,7 @@ class LockTest < ActionController::IntegrationTest
|
||||||
visit_user_unlock_with_token(user.unlock_token)
|
visit_user_unlock_with_token(user.unlock_token)
|
||||||
|
|
||||||
assert_current_url "/users/sign_in"
|
assert_current_url "/users/sign_in"
|
||||||
assert_contain 'Your account was successfully unlocked.'
|
assert_contain 'Your account has been unlocked successfully. Please sign in to continue.'
|
||||||
|
|
||||||
assert_not user.reload.access_locked?
|
assert_not user.reload.access_locked?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue