dwf/rva: better aliasing for getting to results at each level

This commit is contained in:
pivotal
2008-12-10 10:30:01 -08:00
parent cd135b16f6
commit 72ba4ea90a
3 changed files with 158 additions and 74 deletions

View File

@@ -259,6 +259,7 @@ var it = function (description, func) {
return that;
}
that.expectationResults = that.results.results;
that.runs = addToQueue;
jasmine.currentSuite.specs.push(that);
@@ -300,6 +301,7 @@ var describe = function (description, spec_definitions) {
spec_definitions();
that.results.description = description;
that.specResults = that.results.results;
that.finishCallback = function () {
if (jasmine.reporter) {
@@ -322,6 +324,8 @@ var Runner = function () {
}
}
that.suiteResults = that.results.results;
jasmine.currentRunner = that;
return that;
}