Method: ActiveSupport::Testing::SetupAndTeardown#after_teardown

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

#after_teardownObject

:nodoc:



44
45
46
47
48
49
50
51
52
53
54
# File 'lib/active_support/testing/setup_and_teardown.rb', line 44

def after_teardown # :nodoc:
  begin
    run_callbacks :teardown
  rescue => e
    self.failures << Minitest::UnexpectedError.new(e)
  rescue Minitest::Assertion => e
    self.failures << e
  end

  super
end