Sha256: c191dec18b2b1edcc62899dc3eb2d6fdce66b551d2c23de7167f17dd41aa6af6

Contents?: true

Size: 327 Bytes

Versions: 42

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module Thredded
  # Previews for the PostMailer
  class PostMailerPreview < BaseMailerPreview
    def post_notification
      PostMailer.post_notification(
        mock_post(content: mock_content(mention_users: %w[glebm joel])),
        %w[glebm@test.com joel@test.com]
      )
    end
  end
end

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
thredded-1.1.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-1.0.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-1.0.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.16 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.15 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.14 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.13 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.12 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.11 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.10 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.9 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.8 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.7 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.6 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.5 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.4 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.3 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.16.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.15.5 app/mailer_previews/thredded/post_mailer_preview.rb