Skip to content

Commit

Permalink
add note on formated enqueue time method
Browse files Browse the repository at this point in the history
  • Loading branch information
yuenmichelle1 committed May 22, 2024
1 parent ec368ac commit 94e978f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/support/shared_examples_for_schedulable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

it 'gets queued on enqueued_times' do
enqueued_times.each do |enqueued_time|
# update to formatted_enqueue_time when updating sidekiq-cron to 1.9+ (sidekiq 7 support)
job_enqueue_time = Time.at(job.formated_enqueue_time.to_f).utc
expect(job_enqueue_time).to eq(enqueued_time)
end
Expand Down

0 comments on commit 94e978f

Please sign in to comment.