Setup and teardown callbacks.

Methods
F
R
S
T
Instance Public methods
setup()
# File activesupport/test/test_test.rb, line 142
def setup
end
teardown()
# File activesupport/test/test_test.rb, line 145
def teardown
end
test_inherited_setup_callbacks()
# File activesupport/test/test_test.rb, line 136
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, :foo], self.class._teardown_callbacks.map(&:raw_filter)
end
Instance Protected methods
foo()
# File activesupport/test/test_test.rb, line 154
def foo
  @called_back << :foo
end
reset_callback_record()
# File activesupport/test/test_test.rb, line 150
def reset_callback_record
  @called_back = []
end
sentinel()
# File activesupport/test/test_test.rb, line 158
def sentinel
  assert_equal [:foo, :foo], @called_back
end