bitzesty/qunit-mock — pull request #5 by bendangelo (2012-10-05 13:29:55+00:00)
Title: Tests Now Run In Right Context

Tests are run in the wrong context and setting variables in "setup" will not be available in "test" methods. You can now do this:

module("blah", {
setup:Function(){
this.blah = new Something();
}
);

test("test blah", function(){
ok(this.blah.some());
});