如何使用mocha删除对象上的所有方法?
我试过了
object.stubs(:everything)
stub_everything('class_name')
以上两种方式均无效.
ruby testing mocha.js
mocha.js ×1
ruby ×1
testing ×1