about summary refs log tree commit diff
path: root/spec/mailers/previews
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-08-23 22:37:23 +0200
committermultiple creatures <dev@multiple-creature.party>2020-02-27 14:02:57 -0600
commit1213311562928551918495a69e4c6f87236f6a66 (patch)
treedc1274de8877beee411b9a72efccc66cd11603ab /spec/mailers/previews
parent3681f7dcce8f82d2a4377a051952159cd03919c0 (diff)
port tootsuite#11639 to monsterfork: Add option to include reported statuses in warning e-mail
Diffstat (limited to 'spec/mailers/previews')
-rw-r--r--spec/mailers/previews/user_mailer_preview.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/previews/user_mailer_preview.rb b/spec/mailers/previews/user_mailer_preview.rb
index 53c836494..ead3b3baa 100644
--- a/spec/mailers/previews/user_mailer_preview.rb
+++ b/spec/mailers/previews/user_mailer_preview.rb
@@ -42,6 +42,6 @@ class UserMailerPreview < ActionMailer::Preview
 
   # Preview this email at http://localhost:3000/rails/mailers/user_mailer/warning
   def warning
-    UserMailer.warning(User.first, AccountWarning.new(text: '', action: :silence))
+    UserMailer.warning(User.first, AccountWarning.new(text: '', action: :silence), [Status.first.id])
   end
 end