Skip to content

Commit 24ff064

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 b58eb20 commit 24ff064

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.rubocop.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,6 @@ RSpec:
142142
- expect_offense
143143
- expect_offense_if_model_file
144144

145-
# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374.
146-
RSpec/FactoryBot/CreateList:
147-
Enabled: false
148-
149145
RSpec/PredicateMatcher:
150146
EnforcedStyle: explicit
151147

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem 'rake'
1111
gem 'rspec'
1212
gem 'rubocop', github: 'rubocop/rubocop'
1313
gem 'rubocop-performance', '~> 1.17.0'
14-
gem 'rubocop-rspec', '~> 2.20.0'
14+
gem 'rubocop-rspec', '~> 2.22.0'
1515
gem 'simplecov'
1616
gem 'test-queue'
1717
gem 'yard', '~> 0.9'

0 commit comments

Comments
 (0)