diff options
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 |