diff --git a/.rubocop.yml b/.rubocop.yml index d94263840..89542ea0d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -642,10 +642,10 @@ RSpec/SpecFilePathFormat: RSpec/SpecFilePathSuffix: Enabled: true -RSpec/StringAsInstanceDoubleConstant: +RSpec/UndescriptiveLiteralsDescription: Enabled: true -RSpec/UndescriptiveLiteralsDescription: +RSpec/VerifiedDoubleReference: Enabled: true RSpec/VoidExpect: diff --git a/Gemfile b/Gemfile index 60baffbc5..65e387b36 100644 --- a/Gemfile +++ b/Gemfile @@ -106,7 +106,7 @@ group :development do gem "rubocop-factory_bot", "~> 2.26.1", require: false gem "rubocop-performance", "~> 1.23.1", require: false gem "rubocop-rails", "~> 2.29.1", require: false - gem "rubocop-rspec", "~> 3.1.0", require: false + gem "rubocop-rspec", "~> 3.4.0", require: false gem "rubocop-rspec_rails", "~> 2.30.0", require: false gem "rvm1-capistrano3", "~> 1.4.0", require: false gem "spring", "~> 4.2.1" diff --git a/Gemfile.lock b/Gemfile.lock index 0b3d6b945..79d29584a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -577,7 +577,7 @@ GEM rack (>= 1.1) rubocop (>= 1.52.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) - rubocop-rspec (3.1.0) + rubocop-rspec (3.4.0) rubocop (~> 1.61) rubocop-rspec_rails (2.30.0) rubocop (~> 1.61) @@ -791,7 +791,7 @@ DEPENDENCIES rubocop-factory_bot (~> 2.26.1) rubocop-performance (~> 1.23.1) rubocop-rails (~> 2.29.1) - rubocop-rspec (~> 3.1.0) + rubocop-rspec (~> 3.4.0) rubocop-rspec_rails (~> 2.30.0) rvm1-capistrano3 (~> 1.4.0) sassc-embedded (~> 1.80.1)