Skip to content

Commit

Permalink
Merge pull request #1071 from rubocop-hq/enable-pending-2.0-cops
Browse files Browse the repository at this point in the history
Enable pending cop(s)
  • Loading branch information
pirj committed Nov 3, 2020
2 parents a434245 + 06d6abd commit 9a5d604
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -7,6 +7,7 @@
* Remove the code responsible for filtering files to inspect. ([@pirj][])
* Make RSpec language elements configurable. ([@sl4vr][])
* Remove `CustomIncludeMethods` `RSpec/EmptyExampleGroup` option in favour of the new RSpec DSL configuration. ([@pirj][])
* Enabled pending cops (`RSpec/StubbedMock'). ([@pirj][])

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

Expand Down
2 changes: 1 addition & 1 deletion config/default.yml
Expand Up @@ -629,7 +629,7 @@ RSpec/SingleArgumentMessageChain:

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

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/cops_rspec.adoc
Expand Up @@ -3778,7 +3778,7 @@ allow(foo).to receive("bar.baz")
|===
| Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged

| Pending
| Enabled
| Yes
| No
| 1.44
Expand Down

0 comments on commit 9a5d604

Please sign in to comment.