method
run
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Testing::SetupAndTeardown::ForMiniTest
run(runner)public
No documentation available.
# File activesupport/lib/active_support/testing/setup_and_teardown.rb, line 31
def run(runner)
result = '.'
begin
_run_setup_callbacks do
result = super
end
rescue Exception => e
result = runner.puke(self.class, method_name, e)
ensure
begin
_run_teardown_callbacks
rescue Exception => e
result = runner.puke(self.class, method_name, e)
end
end
result
end