How to stub out all the methods on an object using mocha ?
I tried
object.stubs(:everything)
stub_everything('class_name')
Both of the above ways are not working.
How to stub out all the methods on an object using mocha ?
I tried
object.stubs(:everything)
stub_everything('class_name')
Both of the above ways are not working.