lib/sidekiq/testing.rb in sidekiq-7.2.2 vs lib/sidekiq/testing.rb in sidekiq-7.2.3

- old
+ new

@@ -110,10 +110,10 @@ module Queues ## # The Queues class is only for testing the fake queue implementation. # There are 2 data structures involved in tandem. This is due to the # Rspec syntax of change(HardJob.jobs, :size). It keeps a reference - # to the array. Because the array was dervied from a filter of the total + # to the array. Because the array was derived from a filter of the total # jobs enqueued, it appeared as though the array didn't change. # # To solve this, we'll keep 2 hashes containing the jobs. One with keys based # on the queue, and another with keys of the job type, so the array for # HardJob.jobs is a straight reference to a real array.