Setup and teardown callbacks.

Methods
F
R
S
T
Instance Public methods
setup()
# File activesupport/test/test_case_test.rb, line 122
def setup
end
teardown()
# File activesupport/test/test_case_test.rb, line 125
def teardown
end
test_inherited_setup_callbacks()
# File activesupport/test/test_case_test.rb, line 116
def test_inherited_setup_callbacks
  assert_equal [:reset_callback_record, :foo], self.class._setup_callbacks.map(&:raw_filter)
  assert_equal [:foo], @called_back
  assert_equal [:foo, :sentinel], self.class._teardown_callbacks.map(&:raw_filter)
end
Instance Protected methods
foo()
# File activesupport/test/test_case_test.rb, line 134
def foo
  @called_back << :foo
end
reset_callback_record()
# File activesupport/test/test_case_test.rb, line 130
def reset_callback_record
  @called_back = []
end
sentinel()
# File activesupport/test/test_case_test.rb, line 138
def sentinel
  assert_equal [:foo], @called_back
end