minor Spec refactor

This commit is contained in:
ragaskar
2009-07-30 22:31:57 -07:00
parent f84c67b98a
commit 60f513cbff
2 changed files with 10 additions and 12 deletions

View File

@@ -80,7 +80,7 @@ jasmine.Env.prototype.it = function(description, func) {
this.currentSpec = spec;
if (func) {
spec.addToQueue(func);
spec.runs(func);
}
return spec;