Skip to content

Commit 63f7c15

Browse files
committed
Use RuboCop RSpec 2.22
This PR uses RuboCop RSpec 2.22 and suppresses the following warning: ```console $ bundle exec rake (snip) Running RuboCop... .rubocop.yml: RSpec/FactoryBot/CreateList has the wrong namespace - should be FactoryBot ```
1 parent b52bb9c commit 63f7c15

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.rubocop.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,6 @@ RSpec:
124124
- expect_no_offenses
125125
- expect_offense
126126

127-
# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374.
128-
RSpec/FactoryBot/CreateList:
129-
Enabled: false
130-
131127
RSpec/PredicateMatcher:
132128
EnforcedStyle: explicit
133129

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gem 'bump', require: false
1010
gem 'rake'
1111
gem 'rspec'
1212
gem 'rubocop', github: 'rubocop/rubocop'
13-
gem 'rubocop-rspec', '~> 2.20.0'
13+
gem 'rubocop-rspec', '~> 2.22.0'
1414
gem 'simplecov'
1515
gem 'test-queue'
1616
gem 'yard', '~> 0.9'

0 commit comments

Comments
 (0)