aboutsummaryrefslogtreecommitdiffstats
path: root/tests/draggable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 13:25:15 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 13:25:15 +0000
commite46d3df57c056565d4a3cd2e1a340f1ade3d38f5 (patch)
tree7e11a648dd80d3bb4d9bfd769fa3578a364c25d6 /tests/draggable.js
parentf96e61789e6556d46f3baebdeb66b37cfb74f1c8 (diff)
downloadjquery-ui-e46d3df57c056565d4a3cd2e1a340f1ade3d38f5.tar.gz
jquery-ui-e46d3df57c056565d4a3cd2e1a340f1ade3d38f5.zip
draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value
Diffstat (limited to 'tests/draggable.js')
-rw-r--r--tests/draggable.js2
1 files changed, 1 insertions, 1 deletions
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");
});