test against controller responses
rather than calling methods on the controller. We should test the values returned by the controller rather than assuming that the internals are implemented in a certain way.
Showing
想要评论请 注册 或 登录
rather than calling methods on the controller. We should test the values returned by the controller rather than assuming that the internals are implemented in a certain way.