Skip to content

Commit

Permalink
Merge pull request #1372 from r7kamura/feature/implicit
Browse files Browse the repository at this point in the history
Add `require_implicit` style to `RSpec/ImplicitSubject`
  • Loading branch information
bquorning authored Sep 26, 2022
2 parents 9124552 + 0a87f9e commit fd917e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Master (Unreleased)

* Add `require_implicit` style to `RSpec/ImplicitSubject`. ([@r7kamura][])

## 2.13.2 (2022-09-23)

* Fix an error for `RSpec/Capybara/SpecificFinders` with no parentheses. ([@ydah][])
Expand Down
3 changes: 2 additions & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,9 @@ RSpec/ImplicitSubject:
- single_line_only
- single_statement_only
- disallow
- require_implicit
VersionAdded: '1.29'
VersionChanged: '1.30'
VersionChanged: '2.13'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitSubject

RSpec/InstanceSpy:
Expand Down

0 comments on commit fd917e0

Please sign in to comment.