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

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflaburgan <flaburgan@geexxx.fr>2019-06-29 14:24:34 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2021-10-25 02:58:47 +0300
commit5b3f75f0115392333f5c387860c1cf2fa4872b1a (patch)
tree0afb5ea35e452ede748af844aa206eb315ba5ce6 /spec/workers
parentdc99f0f77a7d501905777ada47e30cafba4a6dbd (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.rb1
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