summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Jankowski <matt@jankowski.online>2023-07-20 11:31:34 -0400
committerGitHub <noreply@github.com>2023-07-20 17:31:34 +0200
commit1cceb62afd809d832b0000caeff89c6117652129 (patch)
tree2b1a7e032f9402e2b765da52bd7523d73a5a26e5
parenta5842df123e8950b803ddcca0e0d909e938fb05a (diff)
Fix `Lint/Void` cop (#25922)
-rw-r--r--.rubocop_todo.yml6
-rw-r--r--spec/services/resolve_account_service_spec.rb5
2 files changed, 0 insertions, 11 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 960d548f063..32fb99b7722 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -127,12 +127,6 @@ Lint/UselessAssignment:
- 'spec/services/resolve_url_service_spec.rb'
- 'spec/views/statuses/show.html.haml_spec.rb'
-# This cop supports safe autocorrection (--autocorrect).
-# Configuration parameters: CheckForMethodsWithNoSideEffects.
-Lint/Void:
- Exclude:
- - 'spec/services/resolve_account_service_spec.rb'
-
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 150
diff --git a/spec/services/resolve_account_service_spec.rb b/spec/services/resolve_account_service_spec.rb
index ed22a8147aa..f446d0ca6da 100644
--- a/spec/services/resolve_account_service_spec.rb
+++ b/spec/services/resolve_account_service_spec.rb
@@ -209,11 +209,6 @@ RSpec.describe ResolveAccountService, type: :service do
fail_occurred = false
return_values = Concurrent::Array.new
- # Preload classes that throw circular dependency errors in threads
- Account
- TagManager
- DomainBlock
-
threads = Array.new(5) do
Thread.new do
true while wait_for_start