Autofix Rubocop RSpec/ClassCheck (#23685)

This commit is contained in:
Nick Schonning
2023-02-17 21:24:16 -05:00
committed by GitHub
parent 634368c491
commit 54318dcd6d
8 changed files with 32 additions and 46 deletions

View File

@ -630,20 +630,6 @@ RSpec/Capybara/FeatureMethods:
- 'spec/features/log_in_spec.rb'
- 'spec/features/profile_spec.rb'
# Offense count: 32
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: be_a, be_kind_of
RSpec/ClassCheck:
Exclude:
- 'spec/lib/settings/extend_spec.rb'
- 'spec/models/concerns/account_interactions_spec.rb'
- 'spec/models/custom_emoji_filter_spec.rb'
- 'spec/models/session_activation_spec.rb'
- 'spec/models/setting_spec.rb'
- 'spec/models/user_role_spec.rb'
- 'spec/models/user_spec.rb'
# Offense count: 558
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without