diff options
author | Jon Moss <me@jonathanmoss.me> | 2016-06-10 21:14:33 -0400 |
---|---|---|
committer | Jon Moss <me@jonathanmoss.me> | 2016-06-10 21:14:33 -0400 |
commit | 02a6452e2cac006285f55ce9b2fc54e0602332db (patch) | |
tree | 47ed939dd679fe5af84b751767fe2fc034c61a91 | |
parent | 1de3db90463d2d55fccf0ce08e40bc00e5742ddf (diff) | |
download | rails-02a6452e2cac006285f55ce9b2fc54e0602332db.tar.gz rails-02a6452e2cac006285f55ce9b2fc54e0602332db.tar.bz2 rails-02a6452e2cac006285f55ce9b2fc54e0602332db.zip |
Remove `_run_class_setup`
Should have been removed by 3073c531983de243219fb55be93fbcebfdd9c44e.
-rw-r--r-- | activesupport/lib/active_support/testing/isolation.rb | 11 |
1 files changed, 0 insertions, 11 deletions
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 |