Bump rubocop-rspec from 2.27.0 to 3.0.1
In this version, the RSpec Rails cops have been extracted to a new `rubocop-rspec_rails` gem [1], and the `RSpec/Capybara/FeatureMethods` has been removed in favor of the `RSpec/Dialect` cop. Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.0 to 3.0.1. - [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.27.0...v3.0.1) --- updated-dependencies: - dependency-name: rubocop-rspec dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> [1] https://docs.rubocop.org/rubocop-rspec/upgrade_to_version_3.html [2] https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspecdialect
This commit is contained in:
committed by
Javi Martín
parent
2b69e3c814
commit
cb227e41dc
39
.rubocop.yml
39
.rubocop.yml
@@ -4,6 +4,7 @@ require:
|
||||
- rubocop-performance
|
||||
- rubocop-rails
|
||||
- rubocop-rspec
|
||||
- rubocop-rspec_rails
|
||||
|
||||
AllCops:
|
||||
DisplayCopNames: true
|
||||
@@ -533,12 +534,6 @@ RSpec/BeNil:
|
||||
Enabled: true
|
||||
EnforcedStyle: be
|
||||
|
||||
RSpec/Capybara/FeatureMethods:
|
||||
Enabled: true
|
||||
EnabledMethods:
|
||||
- scenario
|
||||
- xscenario
|
||||
|
||||
RSpec/ContextMethod:
|
||||
Enabled: true
|
||||
|
||||
@@ -546,6 +541,14 @@ RSpec/DescribedClass:
|
||||
Enabled: true
|
||||
EnforcedStyle: explicit
|
||||
|
||||
RSpec/Dialect:
|
||||
Enabled: true
|
||||
PreferredMethods:
|
||||
background: :before
|
||||
given: :let
|
||||
given!: :let!
|
||||
feature: :describe
|
||||
|
||||
RSpec/EmptyExampleGroup:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
@@ -595,18 +598,6 @@ RSpec/NotToNot:
|
||||
RSpec/OverwritingSetup:
|
||||
Enabled: true
|
||||
|
||||
RSpec/Rails/HaveHttpStatus:
|
||||
Enabled: true
|
||||
|
||||
RSpec/Rails/InferredSpecType:
|
||||
Enabled: true
|
||||
|
||||
RSpec/Rails/NegationBeValid:
|
||||
Enabled: true
|
||||
|
||||
RSpec/Rails/TravelAround:
|
||||
Enabled: true
|
||||
|
||||
RSpec/ReceiveMessages:
|
||||
Enabled: true
|
||||
|
||||
@@ -634,6 +625,18 @@ RSpec/SpecFilePathSuffix:
|
||||
RSpec/VoidExpect:
|
||||
Enabled: true
|
||||
|
||||
RSpecRails/HaveHttpStatus:
|
||||
Enabled: true
|
||||
|
||||
RSpecRails/InferredSpecType:
|
||||
Enabled: true
|
||||
|
||||
RSpecRails/NegationBeValid:
|
||||
Enabled: true
|
||||
|
||||
RSpecRails/TravelAround:
|
||||
Enabled: true
|
||||
|
||||
Security/Eval:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user