Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-10-02 04:47:27 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-10-02 04:47:27 +0300
commitb8ff38b1d47e4323f799b593b95821ed4a8c11f7 (patch)
tree2ec67bfce7d95409efba65b07ce81bc7be2c1612 /spec/features/password_reset_spec.rb
parentc7b43126bd7f5ef1b76a546029754ee44d68288e (diff)
Refactor PasswordsController to use before_actions
Diffstat (limited to 'spec/features/password_reset_spec.rb')
-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