Class: Thredded::PrivateTopicMailerPreview

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

Overview

Previews for the PrivateTopicMailer

Instance Method Summary collapse

Methods inherited from BaseMailerPreview

preview_classes

Instance Method Details

#message_notificationObject



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

def message_notification
  PrivateTopicMailer.message_notification(
    mock_private_post(content: mock_content(mention_users: ['glebm'])),
    %w[[email protected] [email protected]]
  )
end