Sha256: 880fe2b10caab50a27e828683d72f05f2a7817a6a09e84c79387380f313286a8

Contents?: true

Size: 478 Bytes

Versions: 7

Compression:

Stored size: 478 Bytes

Contents

# frozen_string_literal: true
module Thredded
  # Previews for the PrivateTopicMailer
  class PrivateTopicMailerPreview < BaseMailerPreview
    def message_notification
      post = mock_private_post(content: mock_content(mention_users: ['glebm']))
      PrivateTopicMailer.message_notification(
        mock_private_topic(posts: [
                             post
                           ]),
        post,
        %w(glebm@test.com joel@test.com)
      )
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
thredded-0.12.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.12.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.11.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.11.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.10.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.10.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.9.4 app/mailer_previews/thredded/private_topic_mailer_preview.rb