- Add
frozen_string_literal: true
(#220) - Fix pattern matching warnings on Ruby 2.7 (#227)
- [BREAKING] Make
have_enqueued_sidekiq_job()
match jobs with any arguments (same asenqueue_sidekiq_job()
orhave_enqueued_sidekiq_job(any_args)
) (#215) - Add support for expected number of jobs to both
enqueue_sidekiq_job
andhave_enqueued_sidekiq_job
(#219)
- Add warning about
have_enqueued_sidekiq_job
with no arguments (default will change in next major release) (#216, #217)
- Add Composable support to
enqueue_sidekiq_job
andhave_enqueued_sidekiq_job
(#211) - Add
immediately
to specify that a job should be enqueued without any delay (#210)
- Explicitly require forwardable (#204)
- Restore the old normalizing expected args behavior with symbols (#205)
- fixes an unintentional breaking change in 4.0.0
- [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) - [BREAKING] Dropped support for Sidekiq <5
- [BREAKING] Dropped support for Rails 5
- Add support for Sidekiq 7 (#192)
- Add support for builtin argument matchers from rspec mocks for
have_enqueued_sidekiq_job
(#200) - Add
#on
tohave_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) - Fix
in
andat
evaluation to match Sidekiq (#194) - Fix
be_delayed
argument matcher (#196) - Fix argument matching ignoring order (#200)
- Fix
be_delayed
time math when usingdelay_for
(#198)
- Add support for latest ruby and Rails 5 (coding-bunny #156)
- Support
Class#method
notation in batch callback (caalberts #155) - Fix bug with time comparison in delayed jobs (geeosh #153 with help from col)
- remove usage of
Integer#blank?
(lanej #152) - Add
NullBatch#description
(dsantosmerino #139) - README updates (BenMusch #142, akihikodaki #141, wpolicarpo #160)
- Re-splat arguments for the have_enqueued_job alias (aprescott #136)
- README updates (nilsding #110, packrat386 #122)
- Ruby 2.4 support (packrat386 #119)
- Fixes for Sidekiq 5 deprecations (packrat #130 with help from trev)
- Remove implicit runtime dependency on ActiveSupport [aprescott#109]
- Use default arguments for NullStatus initialization [briansharon#111]
- Fix at and in chainable methods [wpolicarpo#109]
- Rely on all of RSpec in development [packrat386#101]
- Pass exception to within_sidekiq_retries_exhausted_block [packrat386#100]
- Add support for testing scheduled jobs [wpolicarpo#81]
- only depend on rspec-core [urkle#96]
- Add support for Sidekiq Enterprise [Geesu#82]
- Fix clash with rspec-rails [pavel-jurasek-bcgdv-com#95]
- Fix typo in README file [bradhaydon#87]
- Fix type in readme [graudeejs#80]
- Matchers::HaveEnqueuedJob breaks on jobs with Hash arguments [erikogan#77]
- have_enqueued_job fails if args includes a Hash bug [gPrado#74]
- ActiveJob support [tarzan#71]
- adding be expired in matcher [bernabas#72]
- Fixed testing failures with be_delayed matcher due to rename of
enqueued_at
tocreated_at
in latest Sidekiq [philostler] - Add support for NullBatch#on and NullStatus#failures to the null batch objects. [PacerPRO#64]
- Adding a save_backtrace matcher [webdestroya#61]
- Add flag to skip Batch stubs [paulfri#69]
- allow passing an instance method to be_delayed matcher [lastobelus#63]
- Get specs to green [petergoldstein#58]
- Update spec syntax in README. [futhr#60]
- Add support for 3.0.0 [yelled3#47]
- Completely remove have_enqueued_jobs matcher [philostler#56]
- Added Support for RSpec 3 [TBAA#44]
- Fix gem build error ERROR: (Gem::InvalidSpecificationException) [mourad-ifeelgoods#42]
- Make sure sidekiq is required [mourad-ifeelgoods#43]
- attempt at fixing 'undefined method `configure' for RSpec:Module' [homanchou#51]
- Supports accessing the batch id [fabiokr#54]
- Pass message hash to retries_exhausted block [layervault#52]
- added support for unique scheduled worker matching [jkogara#55]
- Improve coverage and readability of README [philostler#26]
- Greatly increase test coverage [philostler#27]
- Refactor and greatly improve be_a_delayed_job matcher (now be_delayed) [philostler#24 & #25]
- Add implementation of status.total [matthargett & Kelly Felkins#32 & #39]
- Fix Rubinius build [petergoldstein#38]
- Remove have_enqueued_jobs matcher [philostler#37]
- Travis - Ruby 2.1.0, fix Rubinius build [petergoldstein#35]
- Prepare for RSpec 3.x [petergoldstein#34]
- Print warning when used in development mode [mperham & philostler#33]
- Add helper for testing retries exhausted block [Noreaster76#31]
- Allow to use general matchers in have_enqueued_job [johanneswuerbach#30]
- Loosen RSpec dependency [philostler#23]
- Add delay extension matchers [sosaucily#22]
- Update coveralls development dependency to version 0.7.x [philostler]
- Allows Sidekiq::Batch support to work with Mocha as well RSpec stubbing [noiseunion#20]
- Adds stub support for Sidekiq::Batch [kmayer#17]
- Bug fix for matcher failure if sidekiq_options were defined as strings vs symbols [mhuffnagle#16 & philostler]
- Matcher tests (partial coverage) added [mhuffnagle#16 & philostler]
- Removed restriction on needing to use sidekiq-middleware with be_unique matcher [philostler#4]
- Ensure RSpec.configure is defined on loading rspec/sidekiq/matchers [centaure#3]
- Matcher
be_retryable false
not producing correct output description [philostler]
- Removed debug #puts [philostler]
- New #have_enqueued_job matcher [philostler]
- Improved #have_enqueued_jobs description [philostler]
- Minor documentation updates [philostler]
- Initial release [philostler]