Sha256: 81268657fba306021e92d009785194f7d6f91876625b66f9ddfacf419feea807

Contents?: true

Size: 496 Bytes

Versions: 12

Compression:

Stored size: 496 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
thredded-0.9.2 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.9.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.8.4 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.8.2 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.7.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.6.3 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.6.2 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.6.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.6.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.5.1 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.5.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb
thredded-0.4.0 app/mailer_previews/thredded/private_topic_mailer_preview.rb