diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-21 10:05:29 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-21 10:05:29 +0000 |
commit | 284d427bb2b3971aa75759b0cde4f7fa998c7781 (patch) | |
tree | 4706ebde4431e382f7a5ab5d888cf880391085c8 | |
parent | 63f11cd243f78d1a40f06637f93b82de29b1a4dc (diff) | |
download | jquery-ui-284d427bb2b3971aa75759b0cde4f7fa998c7781.tar.gz jquery-ui-284d427bb2b3971aa75759b0cde4f7fa998c7781.zip |
tests sortable - fixed failing disable tests
-rw-r--r-- | tests/sortable.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/sortable.js b/tests/sortable.js index 7cde74c04..95fd9cbfd 100644 --- a/tests/sortable.js +++ b/tests/sortable.js @@ -92,18 +92,18 @@ test("enable", function() { test("disable", function() {
expect(5);
el = $("#sortable").sortable({ disabled: false });
- sort($("li", el)[0], 0, 20, 2, '.sortable({ disabled: false })');
+ sort($("li", el)[0], 0, 40, 2, '.sortable({ disabled: false })');
el.sortable("disable");
- sort($("li", el)[0], 0, 20, 0, 'disabled.sortable getter');
+ sort($("li", el)[0], 0, 40, 0, 'disabled.sortable getter');
el.sortable("destroy");
el.sortable({ disabled: false });
- sort($("li", el)[0], 0, 20, 2, '.sortable({ disabled: false })');
+ sort($("li", el)[0], 0, 40, 2, '.sortable({ disabled: false })');
el.data("disabled.sortable", true);
equals(el.data("disabled.sortable"), true, "disabled.sortable setter");
- sort($("li", el)[0], 0, 20, 0, '.data("disabled.sortable", true)');
+ sort($("li", el)[0], 0, 40, 0, '.data("disabled.sortable", true)');
});
test("defaults", function() {
|