]> source.dussan.org Git - jquery-ui.git/commitdiff
tests draggable - corrected defaults tests tracking [304], and [305]
authorRichard Worth <rdworth@gmail.com>
Sat, 21 Jun 2008 10:17:56 +0000 (10:17 +0000)
committerRichard Worth <rdworth@gmail.com>
Sat, 21 Jun 2008 10:17:56 +0000 (10:17 +0000)
tests/draggable.js

index 2f5a079deba044616cdaa12b8bd6c1930ffa6ffb..064ec074cc8dd76d9ce1d52541b8a316646d9c7c 100644 (file)
@@ -141,10 +141,10 @@ test("defaults", function() {
        el = $("#draggable1").draggable();
        equals(el.data("appendTo.draggable"), "parent", "appendTo");
        equals(el.data("axis.draggable"), false, "axis");
-       equals(el.data("cancel.draggable"), ":input,button", "cancel");
+       equals(el.data("cancel.draggable"), ":input", "cancel");
        equals(el.data("delay.draggable"), 0, "delay");
        equals(el.data("disabled.draggable"), false, "disabled");
-       equals(el.data("distance.draggable"), 0, "distance");
+       equals(el.data("distance.draggable"), 1, "distance");
        equals(el.data("helper.draggable"), "original", "helper");
 });