Fix the build.

This commit is contained in:
Guo Xiang Tan 2018-07-17 17:20:39 +08:00
parent d839a42bf9
commit 202b839208

View File

@ -3,7 +3,7 @@ require 'rails_helper'
describe Jobs::CleanUpEmailLogs do
before do
Fabricate(:email_log, created_at: 2.years.ago, reply_key: "something")
Fabricate(:email_log, created_at: 2.years.ago, reply_key: SecureRandom.hex)
Fabricate(:email_log, created_at: 2.years.ago)
Fabricate(:email_log, created_at: 2.weeks.ago)
Fabricate(:email_log, created_at: 2.days.ago)