rspec-sidekiq_pro

A collection of RSpec matchers for Sidekiq Pro

MIT License

Downloads
3.5K
Stars
3
Committers
1

Bot releases are hidden (Show)

rspec-sidekiq_pro - v1.2.0 - Support Sidekiq 7.1 and update counts matching Latest Release

Published by inkstak over 1 year ago

POTENTIAL BREAKING CHANGE:

  • Remove default .once when using singular matcher [#2]
    It could break ambiguous negative assertions. Read more in the PR description

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 }
    
rspec-sidekiq_pro - v1.1.0 - Support Sidekiq 7

Published by inkstak almost 2 years ago

  • Add support to Sidekiq 7 in dependencies
  • Reduce code complexity
rspec-sidekiq_pro - v1.0.0 - First release !

Published by inkstak about 2 years ago

First release.