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's Sidekiq::Batches is now opt-in and disabled by default
[BREAKING] Dropped support for matching jobs on ActiveJob's private API args, (e.g. _aj_globalid and _aj_ruby2_keywords). _aj_globalid can be replaced with the object itself, e.g. have_enqueued_sidekiq_job(user).
[BREAKING] Dropped support for Ruby 2.6
[BREAKING] Mocking Sidekiq::Batch is now opt in (was opt-out) by default
[BREAKING] Dropped the have_enqueued_job matcher (deprecated since v3)
Add support for builtin argument matchers from rspec mocks for
have_enqueued_sidekiq_job (#200)
Add #on to have_enqueued_sidekiq_job to support testing queue at enqueue time (#197)
Add enqueue_sidekiq_job for block-syntax style expectations
Clarified have_enqueued_sidekiq_job error message to make it clear that the "actual arguments" list is an array of argument-lists across all enqueued jobs. (#195)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rspec-sidekiq to permit the latest version.
Release notes
Sourced from rspec-sidekiq's releases.
... (truncated)
Changelog
Sourced from rspec-sidekiq's changelog.
... (truncated)
Commits
bdd2b52
Bump version to 4b4851ac
Bump version for prereleaseb28ca05
Cleanup readme for prereleasecbbcc84
Merge pull request #201 from wspurgin/block-syntax693947f
Handle Sidekiq <7 gracefully8af5b52
Move expectation to regex for flexibility8ab8234
Add enqueue_sidekiq_job to readme5e2ea9e
Add chainability speca1983b5
Block syntax via enqueue_sidekiq_job9cfcc8a
Update change logDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show