a disabled suite should call resultCallback with status being disabled

close #574
This commit is contained in:
Javen Wang
2014-04-12 19:18:59 +08:00
committed by slackersoft
parent b4f49db6bd
commit 2b0be0c74b
2 changed files with 27 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ getJasmineRequireObj().Suite = function() {
Suite.prototype.disable = function() {
this.disabled = true;
this.result.status = 'disabled';
};
Suite.prototype.beforeEach = function(fn) {