From 03d7bfb7d471e77f7edf2a249100cca0e5d33267 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Fri, 4 Jun 2010 14:48:48 -0400 Subject: [PATCH] Oops, shouldn't onComplete there. --- src/WaitsForBlock.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/WaitsForBlock.js b/src/WaitsForBlock.js index f5f3d2c..67103b7 100644 --- a/src/WaitsForBlock.js +++ b/src/WaitsForBlock.js @@ -30,7 +30,6 @@ jasmine.WaitsForBlock.prototype.execute = function (onComplete) { name: 'timeout', message: message }); - onComplete(); } else { self.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT; self.env.setTimeout(function () { self.execute(onComplete); }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);