Sha256: 6545b8d997b3d34512f65908a9443018c37ddd275aa95dfa8295719c3fea205e

Contents?: true

Size: 326 Bytes

Versions: 19

Compression:

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

19 entries across 19 versions & 1 rubygems

Version Path
thredded-0.12.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.12.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.11.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.11.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.10.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.10.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.9.4 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.9.3 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.9.2 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.9.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.8.4 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.8.2 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.7.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.6.3 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.6.2 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.6.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.6.0 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.5.1 app/mailer_previews/thredded/post_mailer_preview.rb
thredded-0.5.0 app/mailer_previews/thredded/post_mailer_preview.rb