mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 19:00:32 -06:00
Fix random build error
Spec usually failed when there was an UpdateGravatar job for the system user.
This commit is contained in:
parent
b970b072f6
commit
c0bab84dc1
@ -77,6 +77,7 @@ describe Jobs do
|
||||
|
||||
it 'deletes the matching job' do
|
||||
Sidekiq::Testing.disable! do
|
||||
scheduled_jobs.clear
|
||||
expect(scheduled_jobs.size).to eq(0)
|
||||
|
||||
Jobs.enqueue_in(1.year, :run_heartbeat, topic_id: 123)
|
||||
|
Loading…
Reference in New Issue
Block a user