From 7cf971963f6e12a7fce8d1cb1e3f30f89d98109f Mon Sep 17 00:00:00 2001 From: aakashb95 Date: Mon, 12 Jan 2026 13:59:27 +0530 Subject: [PATCH] lint fix --- .../{concerns => }/enterprise/account/limit_validation.rb | 0 spec/enterprise/models/account_spec.rb | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename enterprise/app/models/{concerns => }/enterprise/account/limit_validation.rb (100%) diff --git a/enterprise/app/models/concerns/enterprise/account/limit_validation.rb b/enterprise/app/models/enterprise/account/limit_validation.rb similarity index 100% rename from enterprise/app/models/concerns/enterprise/account/limit_validation.rb rename to enterprise/app/models/enterprise/account/limit_validation.rb diff --git a/spec/enterprise/models/account_spec.rb b/spec/enterprise/models/account_spec.rb index 8fbe3f75e..af300833c 100644 --- a/spec/enterprise/models/account_spec.rb +++ b/spec/enterprise/models/account_spec.rb @@ -85,9 +85,9 @@ RSpec.describe Account, type: :model do ready = Concurrent::CountDownLatch.new(concurrent_calls) start = Concurrent::CountDownLatch.new(1) - threads = concurrent_calls.times.map do + threads = Array.new(concurrent_calls) do Thread.new do - thread_count = Account.find(account.id) + thread_count = described_class.find(account.id) ready.count_down start.wait