diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-10-02 04:47:27 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-10-02 04:47:27 +0300 |
commit | b8ff38b1d47e4323f799b593b95821ed4a8c11f7 (patch) | |
tree | 2ec67bfce7d95409efba65b07ce81bc7be2c1612 /spec/features | |
parent | c7b43126bd7f5ef1b76a546029754ee44d68288e (diff) |
Refactor PasswordsController to use before_actions
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/password_reset_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/password_reset_spec.rb b/spec/features/password_reset_spec.rb index 4d512c6543d..85e70b4d47f 100644 --- a/spec/features/password_reset_spec.rb +++ b/spec/features/password_reset_spec.rb @@ -29,7 +29,7 @@ feature 'Password reset', feature: true do visit root_path forgot_password(user) - expect(page).to have_content("Instructions about how to reset your password have already been sent recently. Please wait a few minutes to try again.") + expect(page).to have_content(I18n.t('devise.passwords.recently_reset')) expect(current_path).to eq new_user_password_path end end |