diff --git a/lib/delayed/backend/shared_spec.rb b/lib/delayed/backend/shared_spec.rb index b773666f..21118726 100644 --- a/lib/delayed/backend/shared_spec.rb +++ b/lib/delayed/backend/shared_spec.rb @@ -230,7 +230,7 @@ def create_job(opts = {}) end it 'reserves jobs scheduled for the past when time zones are involved' do - Time.zone = 'US/Eastern' + Time.zone = 'America/New_York' job = create_job :run_at => described_class.db_time_now - 1.minute expect(described_class.reserve(worker)).to eq(job) end