1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib
Brandon Hilkert ed55232a78 Create separate data structures for queue and worker
Rspec allows expectations to be written using change(LogWorker.jobs,
:size). The result of .jobs in this case was a derived array that wasn't
manipulated under the covers. So when Rspec went to check the size of
the array after the fact, it appeared that nothing had changed.

This sets up a true array for the jobs for a single worker and
pulls jobs off that array so rspec can properly make assertions.
2015-11-25 07:15:34 -05:00
..
generators/sidekiq Update generator generated test file naming 2014-10-21 17:07:43 +08:00
sidekiq Create separate data structures for queue and worker 2015-11-25 07:15:34 -05:00
sidekiq.rb Remove old poll_interval attribute 2015-10-14 16:26:04 -07:00