aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sortable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 13:17:02 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-06-24 13:17:02 +0000
commitf96e61789e6556d46f3baebdeb66b37cfb74f1c8 (patch)
tree317f69ea050ce069d8d237217fec97d46940939b /tests/sortable.js
parent090dbb314b75d6adee7bb19ebdcc836508e82720 (diff)
downloadjquery-ui-f96e61789e6556d46f3baebdeb66b37cfb74f1c8.tar.gz
jquery-ui-f96e61789e6556d46f3baebdeb66b37cfb74f1c8.zip
sortable: added default checks for scroll options
Diffstat (limited to 'tests/sortable.js')
-rw-r--r--tests/sortable.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/sortable.js b/tests/sortable.js
index c9da3b729..6063bb5bc 100644
--- a/tests/sortable.js
+++ b/tests/sortable.js
@@ -114,6 +114,9 @@ test("defaults", function() {
equals(el.data("distance.sortable"), 0, "distance");
equals(el.data("disabled.sortable"), false, "disabled");
equals(el.data("delay.sortable"), 0, "delay");
+ equals(el.data("scroll.sortable"), true, "scroll");
+ equals(el.data("scrollSensitivity.sortable"), 20, "scrollSensitivity");
+ equals(el.data("scrollSpeed.sortable"), 20, "scrollSpeed");
equals(el.data("cancel.sortable"), ":input,button", "cancel");
equals(el.data("items.sortable"), "> *", "items");
equals(el.data("zIndex.sortable"), 1000, "zIndex");