Skip to content

Commit

Permalink
Merge pull request #1203 from pravi/patch-1
Browse files Browse the repository at this point in the history
Change US/Eastern => America/New_York
  • Loading branch information
albus522 authored Aug 13, 2024
2 parents 1420ad0 + 6f834af commit 7e28396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/backend/shared_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e28396

Please sign in to comment.