From 02a6452e2cac006285f55ce9b2fc54e0602332db Mon Sep 17 00:00:00 2001 From: Jon Moss Date: Fri, 10 Jun 2016 21:14:33 -0400 Subject: Remove `_run_class_setup` Should have been removed by 3073c531983de243219fb55be93fbcebfdd9c44e. --- activesupport/lib/active_support/testing/isolation.rb | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'activesupport') diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index edf8b30a0a..7dd03ce65d 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -13,17 +13,6 @@ module ActiveSupport !ENV["NO_FORK"] && Process.respond_to?(:fork) end - @@class_setup_mutex = Mutex.new - - def _run_class_setup # class setup method should only happen in parent - @@class_setup_mutex.synchronize do - unless defined?(@@ran_class_setup) || ENV['ISOLATION_TEST'] - self.class.setup if self.class.respond_to?(:setup) - @@ran_class_setup = true - end - end - end - def run serialized = run_in_isolation do super -- cgit v1.2.3