Setup and teardown callbacks.
Methods
Instance Public methods
setup()
Link
teardown()
Link
test_inherited_setup_callbacks()
Link
# 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()
Link
reset_callback_record()
Link