draggable: fixed failing test, mousemove is actually called 3 times in jquery.simulate.js, so 4 is the correct value

This commit is contained in:
Paul Bakaus 2008-06-24 13:25:15 +00:00
parent f96e61789e
commit e46d3df57c

View File

@ -440,7 +440,7 @@ test("callbacks occurance count", function() {
drag(el, 10, 10); drag(el, 10, 10);
equals(start, 1, "start callback should happen exactly once"); 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"); equals(stop, 1, "stop callback should happen exactly once");
}); });