Skip to content

A platform for community discussion. Free, open, simple.

Fix the build.

Guo Xiang Tan202b839208d4
diff --git a/spec/jobs/clean_up_email_logs_spec.rb b/spec/jobs/clean_up_email_logs_spec.rb
index 460b4ffbd09..fcddbfae30a 100644
--- a/spec/jobs/clean_up_email_logs_spec.rb
+++ b/spec/jobs/clean_up_email_logs_spec.rb
@@ -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)