Skip to content

Commit 9a5d604

Browse files
authored
Merge pull request #1071 from rubocop-hq/enable-pending-2.0-cops
Enable pending cop(s)
2 parents a434245 + 06d6abd commit 9a5d604

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Remove the code responsible for filtering files to inspect. ([@pirj][])
88
* Make RSpec language elements configurable. ([@sl4vr][])
99
* Remove `CustomIncludeMethods` `RSpec/EmptyExampleGroup` option in favour of the new RSpec DSL configuration. ([@pirj][])
10+
* Enabled pending cops (`RSpec/StubbedMock'). ([@pirj][])
1011

1112
## 2.0.0.pre (2020-10-22)
1213

config/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ RSpec/SingleArgumentMessageChain:
629629

630630
RSpec/StubbedMock:
631631
Description: Checks that message expectations do not have a configured response.
632-
Enabled: pending
632+
Enabled: true
633633
VersionAdded: '1.44'
634634
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StubbedMock
635635

docs/modules/ROOT/pages/cops_rspec.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3778,7 +3778,7 @@ allow(foo).to receive("bar.baz")
37783778
|===
37793779
| Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
37803780

3781-
| Pending
3781+
| Enabled
37823782
| Yes
37833783
| No
37843784
| 1.44

0 commit comments

Comments
 (0)