Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Backport strict predicate fix #1402

Merged
merged 2 commits into from
Jan 15, 2021
Merged

Backport strict predicate fix #1402

merged 2 commits into from
Jan 15, 2021

Conversation

JonRowe
Copy link
Member

@JonRowe JonRowe commented Jan 15, 2021

This fix was initialy made in 4-0-dev but is arguably a bug fix so can be backported to 3.10

pirj and others added 2 commits January 14, 2021 10:45
```
  1) RSpec::Mocks::Constant.original for a previously defined unstubbed constant indicates it was previously defined
     Failure/Error: it("indicates it was previously defined") { expect(const).to be_previously_defined }
       expected `#<RSpec::Mocks::Constant TestClass::M>.previously_defined?` to return true, got [:m, "TestClass::M"]
     # ./spec/rspec/mocks/mutate_const_spec.rb:446:in `block (4 levels) in <module:Mocks>'
```
@JonRowe JonRowe requested a review from pirj January 15, 2021 09:10
@JonRowe JonRowe merged commit 65e97d1 into main Jan 15, 2021
@JonRowe JonRowe deleted the backport-strict-predicate-fix branch January 15, 2021 14:16
JonRowe added a commit that referenced this pull request Jan 15, 2021
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…-strict-predicate-fix

Backport strict predicate fix

---
This commit was imported from rspec/rspec-mocks@65e97d1.
yujinakayama pushed a commit to yujinakayama/rspec-monorepo that referenced this pull request Oct 6, 2021
…-strict-predicate-fix

Backport strict predicate fix

---
This commit was imported from rspec/rspec-mocks@5662509.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants