Permalink
Browse files

Add the 'suite' attribute to Test instances

  • Loading branch information...
1 parent 14f0d90 commit 5b5fd0df3fc000d481204b4d00bf229cff4372f0 @dcramer committed Jun 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/suite.js
View
@@ -61,7 +61,7 @@ Suite.prototype = {
if (name.slice(0, 4) !== "test" || !_.isFunction(func))
return;
- var test = new Test({ name: name, func: func });
+ var test = new Test({ name: name, func: func, suite: this });
this.queue.push(test);
}, this));

0 comments on commit 5b5fd0d

Please sign in to comment.