mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06: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:
parent
0a357299b7
commit
4fb9ca3bc9
@ -3,8 +3,7 @@ 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
|
||||
freeze_time DateTime.parse('2010-01-01 6:00')
|
||||
end
|
||||
|
||||
describe 'integration' do
|
||||
|
Loading…
Reference in New Issue
Block a user