DEV: Review fixes (#10641)

See comments in https://review.discourse.org/t/dev-imap-log-to-database-10435/14337/6 for context.
This commit is contained in:
Martin Brennan
2020-09-10 13:41:46 +10:00
committed by GitHub
parent e6ca1b4326
commit 7f2f87bf59
4 changed files with 25 additions and 19 deletions

View File

@@ -10,8 +10,8 @@ describe Jobs::CleanupImapSyncLog do
log2 = ImapSyncLog.log("Test log 2", :debug)
log3 = ImapSyncLog.log("Test log 3", :debug)
log2.update(created_at: Time.now - 6.days)
log3.update(created_at: Time.now - 7.days)
log2.update(created_at: 6.days.ago)
log3.update(created_at: 7.days.ago)
job_class.execute({})