Bump rubocop-rspec from 2.17.1 to 2.23.2

Note that in rubocop-rspec 2.18.0, most Capybara cops were extracted to
a different gem, and the sam happened in rubocop-rspec 2.22.0 with
FactoryBot cops.

So we're adding both rubocop-capybara and rubocop-factory_bot as
dependencies.

Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.17.1 to 2.23.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.17.1...v2.23.2)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2023-09-08 04:40:00 +00:00
committed by Javi Martín
parent 49218118f2
commit aef78ee6f6
3 changed files with 33 additions and 21 deletions

View File

@@ -1,4 +1,6 @@
require:
- rubocop-capybara
- rubocop-factory_bot
- rubocop-performance
- rubocop-rails
- rubocop-rspec
@@ -18,6 +20,24 @@ Bundler/OrderedGems:
Enabled: true
ConsiderPunctuation: true
Capybara/CurrentPathExpectation:
Enabled: true
Capybara/NegationMatcher:
Enabled: true
Capybara/SpecificActions:
Enabled: true
Capybara/VisibilityMatcher:
Enabled: true
FactoryBot/ConsistentParenthesesStyle:
Enabled: true
FactoryBot/FactoryClassName:
Enabled: true
Layout/ArgumentAlignment:
Enabled: true
@@ -474,24 +494,12 @@ RSpec/BeNil:
Enabled: true
EnforcedStyle: be
RSpec/Capybara/CurrentPathExpectation:
Enabled: true
RSpec/Capybara/FeatureMethods:
Enabled: true
EnabledMethods:
- scenario
- xscenario
RSpec/Capybara/NegationMatcher:
Enabled: true
RSpec/Capybara/SpecificActions:
Enabled: true
RSpec/Capybara/VisibilityMatcher:
Enabled: true
RSpec/ContextMethod:
Enabled: true
@@ -521,12 +529,6 @@ RSpec/ExampleWording:
RSpec/ExcessiveDocstringSpacing:
Enabled: true
RSpec/FactoryBot/ConsistentParenthesesStyle:
Enabled: true
RSpec/FactoryBot/FactoryClassName:
Enabled: true
RSpec/FilePath:
Enabled: true