Methods
B
S
T
Instance Public methods
test_inherited_setup_callbacks()
# File activesupport/test/test_case_test.rb, line 147
def test_inherited_setup_callbacks
  assert_equal [:reset_callback_record, :foo, :bar], self.class._setup_callbacks.map(&:raw_filter)
  assert_equal [:foo, :bar], @called_back
  assert_equal [:foo, :sentinel, :bar], self.class._teardown_callbacks.map(&:raw_filter)
end
Instance Protected methods
bar()
# File activesupport/test/test_case_test.rb, line 154
def bar
  @called_back << :bar
end
sentinel()
# File activesupport/test/test_case_test.rb, line 158
def sentinel
  assert_equal [:foo, :bar, :bar], @called_back
end