diff options
author | flaburgan <flaburgan@geexxx.fr> | 2019-06-29 14:24:34 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2021-10-25 02:58:47 +0300 |
commit | 5b3f75f0115392333f5c387860c1cf2fa4872b1a (patch) | |
tree | 0afb5ea35e452ede748af844aa206eb315ba5ce6 /spec/workers | |
parent | dc99f0f77a7d501905777ada47e30cafba4a6dbd (diff) |
Remind the username in the reset password e-mail
closes #8037
Diffstat (limited to 'spec/workers')
-rw-r--r-- | spec/workers/reset_password_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/workers/reset_password_spec.rb b/spec/workers/reset_password_spec.rb index c57cf52d3..6d1b7ca72 100644 --- a/spec/workers/reset_password_spec.rb +++ b/spec/workers/reset_password_spec.rb @@ -13,6 +13,7 @@ describe Workers::ResetPassword do mail = Devise.mailer.deliveries.last expect(mail.to).to eq([alice.email]) expect(mail.body).to include("change your password") + expect(mail.body).to include(alice.username) end end end |