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:
Diffstat (limited to 'spec/workers/reset_password_spec.rb')
-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