Skip to content

Commit

Permalink
Use RuboCop RSpec 2.22
Browse files Browse the repository at this point in the history
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
```
  • Loading branch information
koic committed May 8, 2023
1 parent b52bb9c commit 63f7c15
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,6 @@ RSpec:
- expect_no_offenses
- expect_offense

# This disabling is a workaround for https://github.com/rubocop-hq/rubocop-rails/issues/374.
RSpec/FactoryBot/CreateList:
Enabled: false

RSpec/PredicateMatcher:
EnforcedStyle: explicit

Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'bump', require: false
gem 'rake'
gem 'rspec'
gem 'rubocop', github: 'rubocop/rubocop'
gem 'rubocop-rspec', '~> 2.20.0'
gem 'rubocop-rspec', '~> 2.22.0'
gem 'simplecov'
gem 'test-queue'
gem 'yard', '~> 0.9'
Expand Down

0 comments on commit 63f7c15

Please sign in to comment.