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

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

Instance Method Summary collapse

Instance Method Details

#run(runner) ⇒ Object



80
81
82
83
84
85
86
87
88
89
90
# File 'activesupport/lib/active_support/testing/isolation.rb', line 80

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