Merge branch 'master' of git@github.com:pivotal/jasmine

This commit is contained in:
Christian Williams 2010-06-04 14:45:52 -04:00
commit 11292ff83c
1 changed files with 1 additions and 1 deletions

View File

@ -2139,7 +2139,7 @@ jasmine.WaitsForBlock.prototype.execute = function (onComplete) {
name: 'timeout',
message: message
});
self.spec._next();
onComplete();
} else {
self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);