Remove unused `NotificationMailer#digest` preview (#25719)

local
Matt Jankowski 11 months ago committed by GitHub
parent cf33028f35
commit d6b387a0c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      spec/mailers/previews/notification_mailer_preview.rb

@ -32,9 +32,4 @@ class NotificationMailerPreview < ActionMailer::Preview
r = Status.where.not(reblog_of_id: nil).first
NotificationMailer.reblog(r.reblog.account, Notification.find_by(activity: r))
end
# Preview this email at http://localhost:3000/rails/mailers/notification_mailer/digest
def digest
NotificationMailer.digest(Account.first, since: 90.days.ago)
end
end

Loading…
Cancel
Save