2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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

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