iammerrick/Squire.js — pull request #21 by jaredwy (2013-02-19 11:04:38+00:00)
Title: Remove the dep after we have done with it, to avoid any object refs bein...

...g retained

I am almost positive this is the wrong approach, but it seems sane to me :)
Was having issues with any instances of objects being created inside a define() because require was caching the object we were requiring i was getting mocks that were referencing the objects required by the previous test.

This fixes it.

Happy to talk it through some more, but for now i need some sleep :)