rewrite test to correctly test clear method
Clear should not call callbacks because it clear calls delete_all and then returns self. It should behave the same as delete_all. This test clarifies the goal of the test and tests the correct outcome.
Showing
想要评论请 注册 或 登录