Methods
- T
Instance Public methods
test_callbacks_looks_to_the_superclass_before_running()
Link
# File activesupport/test/callback_inheritance_test.rb, line 163 def test_callbacks_looks_to_the_superclass_before_running child = EmptyChild.new.dispatch assert !child.performed? EmptyParent.set_callback :dispatch, :before, :perform! child = EmptyChild.new.dispatch assert child.performed? end
test_callbacks_should_be_performed_once_in_child_class()
Link