Fix RSpec/ExpectInHook cop (#25100)

This commit is contained in:
Matt Jankowski
2023-05-23 10:40:21 -04:00
committed by GitHub
parent b6b4ea4ca5
commit 778e4a7bf7
4 changed files with 11 additions and 23 deletions

View File

@ -393,12 +393,6 @@ RSpec/ExpectChange:
- 'spec/services/unsuspend_account_service_spec.rb'
- 'spec/workers/scheduler/accounts_statuses_cleanup_scheduler_spec.rb'
RSpec/ExpectInHook:
Exclude:
- 'spec/controllers/api/v1/media_controller_spec.rb'
- 'spec/controllers/settings/applications_controller_spec.rb'
- 'spec/lib/status_filter_spec.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example