correct erratic spec

correct erratic spec

diff --git a/spec/models/incoming_links_report_spec.rb b/spec/models/incoming_links_report_spec.rb
index 1ee041b..7b7f9a8 100644
--- a/spec/models/incoming_links_report_spec.rb
+++ b/spec/models/incoming_links_report_spec.rb
@@ -2,6 +2,11 @@ require 'rails_helper'
 
 describe IncomingLinksReport do
 
+  before do
+    # we do not want this to fail if you run it at 11:59:59PM
+    freeze_time Time.zone.now
+  end
+
   describe 'integration' do
     it 'runs correctly' do
       p1 = create_post

GitHub sha: 173d0d53

This is a pretty cool example of “unfrozen watch issues”

1 Like