Just fixed the bug mentioned in issue #6
Fixed bug in clearing modules cache
This is working for me on node v0.6.14. It is possible that older versions require the .
As you suspected, this change would break on Node versions earlier than v0.6.10. However, I've committed changes that allow Mockery 1.1.2 to work on both current and older versions of Node.