[mocha-developer] Stubbing Kernel#open

James Mead jamesmead44 at gmail.com
Fri Dec 22 16:39:32 EST 2006

Sorry for the delayed response.

I've managed to reproduce your error.

I think it should be solved if you set the expectation on GoogleSearch
instead of Object...

GoogleSearch.any_instance.expects(:open) etc etc


More information about the mocha-developer mailing list