Class: Thredded::PostMailerPreview

Inherits:
BaseMailerPreview show all
Defined in:
app/mailer_previews/thredded/post_mailer_preview.rb

Overview

Previews for the PostMailer

Instance Method Summary collapse

Methods inherited from BaseMailerPreview

preview_classes

Instance Method Details

#post_notificationObject



6
7
8
9
10
11
# File 'app/mailer_previews/thredded/post_mailer_preview.rb', line 6

def post_notification
  PostMailer.post_notification(
    mock_post(content: mock_content(mention_users: %w[glebm joel])),
    %w[[email protected] [email protected]]
  )
end