DEV: correct heisentest, run report at consistent time

`Time.zone.now` can be any time, make this report run on a consistent time
bucket every run instead of changing it each run.
This commit is contained in:
Sam 2019-02-25 14:17:52 +11:00
parent 0a357299b7
commit 4fb9ca3bc9
1 changed files with 1 additions and 2 deletions

View File

@ -3,8 +3,7 @@ require 'rails_helper'
describe IncomingLinksReport do describe IncomingLinksReport do
before do before do
# we do not want this to fail if you run it at 11:59:59PM freeze_time DateTime.parse('2010-01-01 6:00')
freeze_time Time.zone.now
end end
describe 'integration' do describe 'integration' do