[mocha-developer] Fwd: Dealing with exec?
jamesmead44 at gmail.com
Sun Sep 3 16:03:09 EDT 2006
---------- Forwarded message ----------
From: Kevin Clark <kevin.clark at gmail.com>
Date: 01-Sep-2006 20:31
Subject: Dealing with exec?
To: James Mead <jamesmead44 at gmail.com>
Sorry to bug you. I was curious how you'd handle a call to exec in a
method you were testing. Kernel.stubs(:exec)... doesn't seem to work
but I'm not sure where else an exec call might come from. Ideas?
I'm going to push hard to get mocha and stubba into Rails (or atleast
allow it for tests on the framework). It just saves me too much work
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mocha-developer