Fix rubocop

This commit is contained in:
KMY 2024-07-05 07:34:53 +09:00
parent 6b59ce6985
commit efa0c376bc
23 changed files with 32 additions and 32 deletions

View file

@ -163,7 +163,7 @@ describe Scheduler::AccountsStatusesCleanupScheduler do
def cleanable_statuses_count
Status
.where(account_id: [account_alice, account_chris, account_erin]) # Accounts with enabled policies
.where('created_at < ?', 2.weeks.ago) # Policy defaults is 2.weeks
.where(created_at: ...2.weeks.ago) # Policy defaults is 2.weeks
.count
end
end