module ActiveSupport::Testing::Isolation

Public Class Methods

forking_env?() click to toggle source
# File lib/active_support/testing/isolation.rb, line 13
def self.forking_env?
  !ENV["NO_FORK"] && Process.respond_to?(:fork)
end

Public Instance Methods

run() click to toggle source
Calls superclass method
# File lib/active_support/testing/isolation.rb, line 17
def run
  serialized = run_in_isolation do
    super
  end

  Marshal.load(serialized)
end