[mocha-developer] Changing the value of $?

James Mead jamesmead44 at gmail.com
Tue Jun 19 09:51:12 EDT 2007

The only thing I can suggest is to wrap the $? execution environment
variable in a method e.g. exit_status(). Then you could then stub the
exit_status() method to return your desired result.

More information about the mocha-developer mailing list