Merge pull request #5579 from consuldemocracy/dependabot/bundler/rubocop-rspec-3.0.1

Bump rubocop-rspec from 2.27.0 to 3.0.1
This commit is contained in:
Javi Martín
2024-07-22 17:31:31 +02:00
committed by GitHub
3 changed files with 42 additions and 24 deletions

View File

@@ -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:
@@ -562,12 +565,18 @@ RSpec/EmptyLineAfterExampleGroup:
Exclude:
- spec/factories/**/*
RSpec/EmptyOutput:
Enabled: true
RSpec/ExampleWording:
Enabled: true
RSpec/ExcessiveDocstringSpacing:
Enabled: true
RSpec/ExpectInLet:
Enabled: true
RSpec/Focus:
Enabled: true
@@ -589,24 +598,15 @@ RSpec/LetSetup:
RSpec/MetadataStyle:
Enabled: true
RSpec/MissingExpectationTargetMethod:
Enabled: true
RSpec/NotToNot:
Enabled: true
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
@@ -631,9 +631,24 @@ RSpec/SpecFilePathFormat:
RSpec/SpecFilePathSuffix:
Enabled: true
RSpec/UndescriptiveLiteralsDescription:
Enabled: true
RSpec/VoidExpect:
Enabled: true
RSpecRails/HaveHttpStatus:
Enabled: true
RSpecRails/InferredSpecType:
Enabled: true
RSpecRails/NegationBeValid:
Enabled: true
RSpecRails/TravelAround:
Enabled: true
Security/Eval:
Enabled: true

View File

@@ -103,7 +103,8 @@ group :development do
gem "rubocop-factory_bot", "~> 2.26.1", require: false
gem "rubocop-performance", "~> 1.21.1", require: false
gem "rubocop-rails", "~> 2.25.1", require: false
gem "rubocop-rspec", "~> 2.27.0", require: false
gem "rubocop-rspec", "~> 3.0.1", require: false
gem "rubocop-rspec_rails", "~> 2.30.0", require: false
gem "rvm1-capistrano3", "~> 1.4.0", require: false
gem "spring", "~> 4.2.1"
gem "web-console", "~> 4.2.1"

View File

@@ -561,10 +561,11 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.27.0)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-rspec (3.0.3)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
ruby-rc4 (0.1.5)
ruby-vips (2.1.4)
@@ -770,7 +771,8 @@ DEPENDENCIES
rubocop-factory_bot (~> 2.26.1)
rubocop-performance (~> 1.21.1)
rubocop-rails (~> 2.25.1)
rubocop-rspec (~> 2.27.0)
rubocop-rspec (~> 3.0.1)
rubocop-rspec_rails (~> 2.30.0)
rvm1-capistrano3 (~> 1.4.0)
sassc-embedded (~> 1.70.1)
sassc-rails (~> 2.1.2)