summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-10-01 21:47:27 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-10-01 21:47:27 -0400
commitb8ff38b1d47e4323f799b593b95821ed4a8c11f7 (patch)
tree2ec67bfce7d95409efba65b07ce81bc7be2c1612 /spec
parentc7b43126bd7f5ef1b76a546029754ee44d68288e (diff)
downloadgitlab-ce-b8ff38b1d47e4323f799b593b95821ed4a8c11f7.tar.gz
Refactor PasswordsController to use before_actions
Diffstat (limited to 'spec')
-rw-r--r--spec/features/password_reset_spec.rb2
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