Sha256: 49d81c03b6a2e2e9a677dbb6b8bbcffc169152ec2cd819e2ee66248811160b2a

Contents?: true

Size: 479 Bytes

Versions: 6

Compression:

Stored size: 479 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

6 entries across 6 versions & 1 rubygems

Version Path
thredded-0.13.2 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.13.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.13.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.12.4 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.12.3 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.12.2 app/mailer_previews/thredded/private_topic_mailer_preview.rb