---
title: "rspec-expectations 3.0.0.rc1 Breaking Changes on RubyGems"
description: "What each rspec-expectations release removed, renamed or changed: 26 breaking changes in 3 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/rspec-expectations
last_updated: 2026-12-04
---

# rspec-expectations breaking changes

rspec-expectations 3.0.0.rc1 (June 2, 2014) is its newest release with breaking changes, 8 of them. The first: Removed matcher_execution_context. Every breaking API change we have recorded in rspec-expectations on RubyGems: 26 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.13.6`. 

Packages on RubyGems run on Ruby. [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [3.0.0.beta1](#v-3-0-0-beta1) to [3.0.0.rc1](#v-3-0-0-rc1): 20 breaking changes in 2 versions.

## rspec-expectations 3.0.0.rc1 breaking changes

rspec-expectations 3.0.0.rc1, released June 2, 2014: 8 breaking changes.

- **Removed** `matcher_execution_context`  

The matcher_execution_context attribute is removed from DSL-defined custom matchers. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Removed** `require 'rspec-expectations'`  

Require rspec/expectations instead. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Removed** `RSpec.Matchers.Pretty._pretty_print`  

The \_pretty_print method is removed. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Removed** `RSpec.Matchers.Pretty.expected_to_sentence`  

The expected_to_sentence method is removed. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Renamed** `RSpec.Matchers.Configuration`  

Reference the constant under RSpec::Expectations instead. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Behavior changed** `eq`  

Using a value matcher in a block expectation, or the reverse, now gives an explicit error. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Behavior changed** `have_xyz`  

Predicate matchers now refuse private methods on the receiver. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)
- **Signature changed** `supports_block_expectations?`  

Custom block matchers must now define supports_block_expectations?. [github.com](https://github.com/rspec/rspec-expectations/blob/v3.0.0/Changelog.md)

## rspec-expectations 3.0.0.beta2 breaking changes

rspec-expectations 3.0.0.beta2, released June 2, 2014: 12 breaking changes.

- **Removed**  

Integration with Test::Unit and Minitest 4.x is removed. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Removed** `expect(.).should`  

The deprecated should form on expect is removed; use to. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Removed** `RSpec`  

The deprecated Rspec and Spec constant aliases are removed; use RSpec. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Removed** `RSpec.Expectations.differ=`  

The deprecated differ setter is removed. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Removed** `RSpec.Matchers.OperatorMatcher`  

The deprecated OperatorMatcher constant is removed. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Renamed** `failure_message_for_should`  

Custom matchers should rename failure_message_for_should to failure_message. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Renamed** `failure_message_for_should_not`  

Custom matchers should rename failure_message_for_should_not to failure_message_when_negated. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Renamed** `match_for_should`  

Custom matchers should rename match_for_should to match. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Renamed** `match_for_should_not`  

Custom matchers should rename match_for_should_not to match_when_negated. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)
- **Behavior changed** `change`  

Using these qualifiers with not_to change is explicitly disallowed and raises an error. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta2)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## rspec-expectations 3.0.0.beta1 breaking changes

rspec-expectations 3.0.0.beta1, released June 2, 2014: 6 breaking changes.

- **Removed**  

Explicit support for 1.8.6 is removed in 3.0.0, so code relying on it must move to a newer Ruby. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)
- **Removed** `be_close`  

The deprecated be_close matcher is removed; use be_within instead. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)
- **Renamed** `be_false`  

Use be_falsey in place of be_false. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)
- **Renamed** `be_true`  

Use be_truthy in place of be_true. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)
- **Behavior changed** `raise_error`  

Using to_not raise_error with a class or message argument is no longer allowed; use it with no arguments. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)
- **Behavior changed** `RSpec.Matchers.define`  

Helpers added via def self.helper or extend are no longer available inside match blocks; include the module and use instance methods. [github.com](https://github.com/rspec/rspec-expectations/releases/tag/v3.0.0.beta1)

## 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.
