diff --git a/test/integration/recoverable_test.rb b/test/integration/recoverable_test.rb index 44cb0b9e2d..c391b0b2eb 100644 --- a/test/integration/recoverable_test.rb +++ b/test/integration/recoverable_test.rb @@ -18,7 +18,7 @@ def request_forgot_password(&block) yield if block_given? Devise.stubs(:friendly_token).returns("abcdef") - click_button 'Send me reset password instructions' + click_button 'Send me password reset instructions' end def reset_password(options = {}, &block) @@ -339,7 +339,7 @@ def reset_password(options = {}, &block) swap Devise, paranoid: true do visit_new_password_path fill_in "email", with: "arandomemail@test.com" - click_button 'Send me reset password instructions' + click_button 'Send me password reset instructions' assert_not_contain "1 error prohibited this user from being saved:" assert_not_contain "Email not found" @@ -353,7 +353,7 @@ def reset_password(options = {}, &block) user = create_user visit_new_password_path fill_in 'email', with: user.email - click_button 'Send me reset password instructions' + click_button 'Send me password reset instructions' assert_contain "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes." assert_current_url "/users/sign_in"