Skip to content

Commit

Permalink
fix unlock message
Browse files Browse the repository at this point in the history
  • Loading branch information
kaleemullah committed Jan 23, 2012
1 parent 3bd78ca commit 41b1e87
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/locales/en.yml
Expand Up @@ -45,7 +45,7 @@ en:
locked: 'locked'
unlocks:
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.'
omniauth_callbacks:
success: 'Successfully authorized from %{kind} account.'
Expand Down
2 changes: 1 addition & 1 deletion test/integration/lockable_test.rb
Expand Up @@ -81,7 +81,7 @@ def send_unlock_request
visit_user_unlock_with_token(user.unlock_token)

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?
end
Expand Down

0 comments on commit 41b1e87

Please sign in to comment.