Skip to content

Commit

Permalink
Fix a false positive for RSpec/StubbedMock when stubbed message exp…
Browse files Browse the repository at this point in the history
…ectation with a block and block parameter

Fix: rubocop/rubocop-rspec#1518
  • Loading branch information
ydah committed Jan 11, 2023
1 parent 28e4482 commit 804158a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Add new `RSpec/Rails/MinitestAssertions` cop. ([@ydah])
- Fix a false positive for `RSpec/PendingWithoutReason` when not inside example. ([@ydah])
- Fix a false negative for `RSpec/PredicateMatcher` when using `include` and `respond_to`. ([@ydah])
- Fix a false positive for `RSpec/StubbedMock` when stubbed message expectation with a block and block parameter. ([@ydah])

## 2.16.0 (2022-12-13)

Expand Down

0 comments on commit 804158a

Please sign in to comment.