instance method
teardown
Ruby on Rails 3.2.22.5
Since v3.0.20Signature
teardown(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File activesupport/lib/active_support/testing/setup_and_teardown.rb, line 25
def teardown(*args, &block)
set_callback(:teardown, :after, *args, &block)
end
Defined in activesupport/lib/active_support/testing/setup_and_teardown.rb line 25
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Testing::SetupAndTeardown::ClassMethods