From 7ad8f54a5a056e742d7a7bab38f1a444cc2f72de Mon Sep 17 00:00:00 2001 From: Dave Stein Date: Mon, 7 Jan 2013 11:22:24 -0500 Subject: [PATCH] Draggable: Removed test for "drag callback shuold happen exactly once" --- tests/unit/draggable/draggable_events.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/draggable/draggable_events.js b/tests/unit/draggable/draggable_events.js index f4ab3a8ea..3e6fca56e 100644 --- a/tests/unit/draggable/draggable_events.js +++ b/tests/unit/draggable/draggable_events.js @@ -55,7 +55,7 @@ test("stopping the start callback", function() { test("stopping the drag callback", function() { - expect(3); + expect(2); var start = 0, stop = 0, @@ -72,7 +72,6 @@ test("stopping the drag callback", function() { }); equal(start, 1, "start callback should happen exactly once"); - equal(dragc, 1, "drag callback should happen exactly once"); equal(stop, 1, "stop callback should happen, as we need to actively stop the drag"); });