A collection of RSpec matchers for Sidekiq Pro
MIT License
Bot releases are visible (Hide)
Published by inkstak over 1 year ago
POTENTIAL BREAKING CHANGE:
.once
when using singular matcher [#2]Improvements:
Add support to Sidekiq-Pro 7.1 changes
Add chainable matcher to verify the number of enqueued jobs against a max/min number:
it { expect {...}.to enqueue_sidekiq_job(SampleJob).more_than(5).times }
it { expect {...}.to enqueue_sidekiq_job(SampleJob).less_than(5).times }
it { expect {...}.to enqueue_sidekiq_job(SampleJob).at_least(5).times }
it { expect {...}.to enqueue_sidekiq_job(SampleJob).at_most(5).times }
Published by inkstak almost 2 years ago
Published by inkstak about 2 years ago
First release.