diff --git a/spec/lib/good_job/adapter_spec.rb b/spec/lib/good_job/adapter_spec.rb index 0e1a64bce..cca320e54 100644 --- a/spec/lib/good_job/adapter_spec.rb +++ b/spec/lib/good_job/adapter_spec.rb @@ -128,7 +128,7 @@ def perform(succeed: true) expect(GoodJob::Job.last).to have_attributes( queue_name: 'elephant', priority: -55, - scheduled_at: be_within(0.1).of(10.minutes.from_now) + scheduled_at: be_within(1).of(10.minutes.from_now) ) end