8000 tests draggable - corrected defaults tests tracking [304], and [305] · ainformatico/jquery-ui@bc778a6 · GitHub
Skip to content

Commit bc778a6

Browse files
committed
tests draggable - corrected defaults tests tracking [304], and [305]
1 parent f3000e3 commit bc778a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/draggable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ test("defaults", function() {
141141
el = $("#draggable1").draggable();
142142
equals(el.data("appendTo.draggable"), "parent", "appendTo");
143143
equals(el.data("axis.draggable"), false, "axis");
144-
equals(el.data("cancel.draggable"), ":input,button", "cancel");
144+
equals(el.data("cancel.draggable"), ":input", "cancel");
145145
equals(el.data("delay.draggable"), 0, "delay");
146146
equals(el.data("disabled.draggable"), false, "disabled");
147-
equals(el.data("distance.draggable"), 0, "distance");
147+
equals(el.data("distance.draggable"), 1, "distance");
148148
equals(el.data("helper.draggable"), "original", "helper");
149149
});
150150

0 commit comments

Comments
 (0)