[mocha-developer] mocking singletons

Justin Perkins justin at spiceworks.com
Tue Aug 21 13:28:15 EDT 2007

> On Aug 21, 2007, at 3:45 AM, Jonathan Leighton wrote:
> This is how I did it:
> http://jonathanleighton.com/blog/testing-singleton-classes

Can I define a teardown method in the test_helper or would your  
solution require a per-test-case teardown method to reload the  


More information about the mocha-developer mailing list