Module: ActiveSupport::Testing::Isolation::MiniTest

Defined in:
lib/active_support/testing/isolation.rb

Instance Method Summary collapse

Instance Method Details

#run(runner) ⇒ Object



88
89
90
91
92
93
94
95
96
97
98
# File 'lib/active_support/testing/isolation.rb', line 88

def run(runner)
  _run_class_setup

  serialized = run_in_isolation do |isolated_runner|
    super(isolated_runner)
  end

  retval, proxy = Marshal.load(serialized)
  proxy.__replay__(runner)
  retval
end