Method: ActiveSupport::Testing::SetupAndTeardown::ClassMethods#teardown
- Defined in:
- activesupport/lib/active_support/testing/setup_and_teardown.rb
#teardown(*args, &block) ⇒ Object
Add a callback, which runs after TestCase#teardown.
34 35 36 |
# File 'activesupport/lib/active_support/testing/setup_and_teardown.rb', line 34 def teardown(*args, &block) set_callback(:teardown, :after, *args, &block) end |