提交 16a9787b 编写于 作者: J Jeremy Kemper

Add empty setup and teardown methods to rule out default setup behavior in base class

上级 f545e196
......@@ -84,6 +84,12 @@ def test_inherited_setup_callbacks
assert_equal [:foo, :sentinel, :foo], self.class.teardown_callback_chain.map(&:method)
end
def setup
end
def teardown
end
protected
def reset_callback_record
@called_back = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册