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
|
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
|
||||||
|
|
Loading…
Reference in New Issue