From 685caef33bef52b944f4fc31697c02bfe53b66f4 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sat, 7 Aug 2021 13:04:31 +0900 Subject: [PATCH] Fix "warning: instance variable @parallelized not initialized" --- .../lib/active_support/testing/parallelize_executor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/testing/parallelize_executor.rb b/activesupport/lib/active_support/testing/parallelize_executor.rb index d59f25f1ec..88299db3c0 100644 --- a/activesupport/lib/active_support/testing/parallelize_executor.rb +++ b/activesupport/lib/active_support/testing/parallelize_executor.rb @@ -49,7 +49,7 @@ module ActiveSupport end def parallelized? - @parallelized + @parallelized if defined?(@parallelized) end def should_parallelize?