tabletop-companion/test/mailers/previews/table_invite_mailer_preview.rb

13 lines
371 B
Ruby

# frozen_string_literal: true
# Preview all emails at http://localhost:3000/rails/mailers/table_invite_mailer
class TableInviteMailerPreview < ActionMailer::Preview
def invite_user
TableInviteMailer.with(table_invite: TableInvite.first).invite_user
end
def invite_new_user
TableInviteMailer.with(table_invite: TableInvite.first).invite_new_user
end
end