mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Draggable: Removed test for "drag callback shuold happen exactly once"
This commit is contained in:
parent
7b1c19b191
commit
7ad8f54a5a
@ -55,7 +55,7 @@ test("stopping the start callback", function() {
|
|||||||
|
|
||||||
test("stopping the drag callback", function() {
|
test("stopping the drag callback", function() {
|
||||||
|
|
||||||
expect(3);
|
expect(2);
|
||||||
|
|
||||||
var start = 0,
|
var start = 0,
|
||||||
stop = 0,
|
stop = 0,
|
||||||
@ -72,7 +72,6 @@ test("stopping the drag callback", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
equal(start, 1, "start callback should happen exactly once");
|
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");
|
equal(stop, 1, "stop callback should happen, as we need to actively stop the drag");
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user