diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-08-23 22:37:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-23 22:37:23 +0200 |
commit | 73ca0bb925cb036f824262ab292a157a40a515d0 (patch) | |
tree | 06373f7b57dc3976a647d703204505b49ec64e61 /spec/mailers/previews | |
parent | 37f612074efeb793fafbe19c90698b98b278447d (diff) |
Add option to include reported statuses in warning e-mail (#11639)
Diffstat (limited to 'spec/mailers/previews')
-rw-r--r-- | spec/mailers/previews/user_mailer_preview.rb | 2 |
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 |