Skip to content
Permalink
Browse files

draggable: fixed failing test, mousemove is actually called 3 times i…

…n jquery.simulate.js, so 4 is the correct value
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jun 24, 2008
1 parent f96e617 commit e46d3df57c056565d4a3cd2e1a340f1ade3d38f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 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");

});

0 comments on commit e46d3df

Please sign in to comment.
You can’t perform that action at this time.