---
title: "rspec-sidekiq 5.0.0 Breaking Changes on RubyGems | Since.dev"
description: "What each rspec-sidekiq release removed, renamed or changed: 11 breaking changes in 5 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/rspec-sidekiq
last_updated: 2026-12-04
---

# rspec-sidekiq breaking changes

rspec-sidekiq 5.0.0 (May 15, 2024) is its newest release with breaking changes. The first: Behavior changed have_enqueued_sidekiq_job. Every breaking API change we have recorded in rspec-sidekiq on RubyGems: 11 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.3.0`. [Source repository](https://github.com/wspurgin/rspec-sidekiq)

Its 4.0.0 release drops Ruby 2.6. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [4.0.0](#v-4-0-0) to [5.0.0](#v-5-0-0): 1 breaking change in 1 version.
- From [1.0.0](#v-1-0-0) to [5.0.0](#v-5-0-0): 9 breaking changes in 4 versions.

## rspec-sidekiq 5.0.0 breaking changes

rspec-sidekiq 5.0.0, released May 15, 2024: 1 breaking change.

- **Behavior changed** `have_enqueued_sidekiq_job`  

The matcher no longer matches only jobs with no arguments; it matches jobs with any arguments. To keep matching only jobs with no arguments, check the argument list in the expectation. [github.com](https://github.com/wspurgin/rspec-sidekiq/releases/tag/v5.0.0)

## rspec-sidekiq 4.0.0 breaking changes

rspec-sidekiq 4.0.0, released August 15, 2023: 6 breaking changes.

- **Removed**  

Rails 5 is no longer supported by this release. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)
- **Removed**  

Matching on ActiveJob private arguments such as \_aj_globalid and \_aj_ruby2_keywords is no longer supported. Pass the object itself instead. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)
- **Removed**  

Code running on Ruby 2.6 is no longer supported by this release. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)
- **Removed**  

Sidekiq versions older than 5 are no longer supported by this release. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)
- **Removed** `have_enqueued_job`  

The have_enqueued_job matcher, deprecated since v3, has been removed. Replacement is not named in the changelog. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)
- **Default changed** `Sidekiq.Batch`  

Mocking Sidekiq::Batch no longer happens automatically; users must opt in to it. [github.com](https://github.com/wspurgin/rspec-sidekiq/blob/v4.0.0/CHANGES.md)

## rspec-sidekiq 3.0.0 breaking changes

rspec-sidekiq 3.0.0, released April 4, 2017: 1 breaking change.

- **Behavior changed** `within_sidekiq_retries_exhausted_block`  

The within_sidekiq_retries_exhausted_block block now receives the exception as an argument. Code that relies on the block's previous arguments may need to be updated. [github.com](https://github.com/wspurgin/rspec-sidekiq/releases/tag/v3.0.0)

## rspec-sidekiq 2.0.0.beta breaking changes

rspec-sidekiq 2.0.0.beta, released September 24, 2014: 1 breaking change.

- **Removed** `have_enqueued_jobs`  

The have_enqueued_jobs matcher is completely removed in this beta, so specs that use it will no longer work and must be rewritten. [github.com](https://github.com/wspurgin/rspec-sidekiq/releases/tag/v2.0.0.beta)

## rspec-sidekiq 1.0.0 breaking changes

rspec-sidekiq 1.0.0, released January 21, 2014: 2 breaking changes.

- **Removed** `have_enqueued_jobs`  

The have_enqueued_jobs matcher was removed; specs using it must be changed. [github.com](https://github.com/wspurgin/rspec-sidekiq/releases/tag/v1.0.0)
- **Renamed** `be_a_delayed_job`  

The be_a_delayed_job matcher was refactored and renamed to be_delayed; update specs to use the new name. [github.com](https://github.com/wspurgin/rspec-sidekiq/releases/tag/v1.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
