From d6b387a0c4172ecd7cb742d3b97f294552a6fdb1 Mon Sep 17 00:00:00 2001
From: Matt Jankowski <matt@jankowski.online>
Date: Sat, 8 Jul 2023 14:04:21 -0400
Subject: [PATCH] Remove unused `NotificationMailer#digest` preview (#25719)

---
 spec/mailers/previews/notification_mailer_preview.rb | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/spec/mailers/previews/notification_mailer_preview.rb b/spec/mailers/previews/notification_mailer_preview.rb
index bc41662a16..214161881b 100644
--- a/spec/mailers/previews/notification_mailer_preview.rb
+++ b/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