From f96e61789e6556d46f3baebdeb66b37cfb74f1c8 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 24 Jun 2008 13:17:02 +0000 Subject: [PATCH] sortable: added default checks for scroll options --- tests/sortable.js | 3 +++ 1 file changed, 3 insertions(+) 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"); -- 2.39.5