From 157ea7155352437fc69137495be7da06dce2c76d Mon Sep 17 00:00:00 2001 From: Aaron Stacy Date: Fri, 8 Feb 2013 15:10:16 -0600 Subject: [PATCH] corrected bug in unit test per [ralph's review](/siq/mesh/pull/23#issuecomment-13311086) ...so much for red green refactor... --- js/tests/test_model_consistency.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tests/test_model_consistency.js b/js/tests/test_model_consistency.js index 59bccb2..f45057f 100644 --- a/js/tests/test_model_consistency.js +++ b/js/tests/test_model_consistency.js @@ -377,7 +377,7 @@ define([ ok(true, 'first deferred should have failed'); dfd1Failed = true; }); - dfd1.then(function() { + dfd2.then(function() { ok(false, 'second deferred should have failed'); start(); }, function() {