Thanks for catching that.  Sorry I do not follow on using stubs.   If I set a stub on a class method, won't I have the same problem ?  Also, did you mean to use ensure on the teardown method ?  If an exception pops up during a test, does teardown still get run ?