Bump rspec-sidekiq from 4.0.0 to 4.0.1
Bumps rspec-sidekiq from 4.0.0 to 4.0.1.
Release notes
Sourced from rspec-sidekiq's releases.
v4.0.1
v4- We have a release!
🚀 This repo was in ownership limbo for a few years, but now it's getting some TLC. v4 aims to squish some long standing bugs and add a few nice features we've been missing.
All feedback and bug reports are also most welcome.
😄 Summary of changes
BREAKING Changes
- Dropped support for Rubies < 2.7
- Dropped support for Sidekiq <5
- Dropped support for Rails <5
- Drop
have_enqueued_job
matcher- Mocking
Sidekiq::Pro
'sSidekiq::Batches
is now opt-in and disabled by defaultNew features
Block syntax
🤙 Many examples in the README, but here's a teaser:
expect { AwesomeJob.perform_async "Awesome!" }.to enqueue_sidekiq_job(AwesomeJob).with("Awesome!")
#on
chainable matcher ⛓️Wanna test which queue your job was enqueued on? Go for it:
# Both block style and yee old have_enqueued_sidekiq_job style supports it expect { AwesomeJob.set(queue: "high").perform_async }.to enqueue_sidekiq_job(AwesomeJob).on("high") expect(AwesomeJob).to have_enqueued_sidekiq_job.on("high")
RSpec builtin args matchers
🙌 Finally you can use those lovely builtin Args matchers from
rspec-mocks
expect { AwesomeJob.perform_async({ "important_arg" => true }) }.to enqueue_sidekiq_job(AwesomeJob).with(hash_including("important_arg" => boolean)) or using the non-block style expect(AwesomeJob).to have_enqueued_sidekiq_job(hash_including("important_arg" => boolean))
... (truncated)
Changelog
Sourced from rspec-sidekiq's changelog.
4.0.1
- Restore the old normalizing expected args behavior with symbols (#205)
- fixes an unintentional breaking change in 4.0.0
Commits
-
08c3020
Bump version to 4.0.1 -
1372f75
Restore normalizing args (#205) -
5998685
:accessibility: Cleanup readme links and badges - See full diff in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts