From 41d6e980c6fa24e5d5d7280ed3cea79cabf61d16 Mon Sep 17 00:00:00 2001 From: nightpool Date: Thu, 21 Mar 2024 00:04:31 -0400 Subject: [PATCH] just ignore removal in all specs for now --- app/models/status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/status.rb b/app/models/status.rb index 26a6ae0eb..dd34ab8a2 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -315,7 +315,7 @@ def trendable? end def schedule_removal - return if Sidekiq::Testing.inline? + return if Rails.env.test? moon = Lunartic.today removal_delay = (moon.percent_full * 220) + 20