From e46d3df57c056565d4a3cd2e1a340f1ade3d38f5 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 24 Jun 2008 13:25:15 +0000 Subject: draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value --- tests/draggable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/draggable.js b/tests/draggable.js index fe22cdcfb..452faf8cb 100644 --- a/tests/draggable.js +++ b/tests/draggable.js @@ -440,7 +440,7 @@ test("callbacks occurance count", function() { drag(el, 10, 10); equals(start, 1, "start callback should happen exactly once"); - equals(dragc, 2 + 1, "drag callback should happen exactly once per mousemove + 1"); + equals(dragc, 3 + 1, "drag callback should happen exactly once per mousemove + 1"); equals(stop, 1, "stop callback should happen exactly once"); }); -- cgit v1.2.3