Skip to content
Permalink
Browse files

tests sortable - fixed failing enable test

  • Loading branch information
rdworth committed Jun 21, 2008
1 parent 77c5305 commit 63f11cd243f78d1a40f06637f93b82de29b1a4dc
Showing with 7 additions and 7 deletions.
  1. +5 −5 tests/sortable.html
  2. +2 −2 tests/sortable.js
@@ -33,11 +33,11 @@ <h2 id="userAgent"></h2>

<div id="main" style="border: 1px solid black; padding: 10px; margin: 10px;">
<ul id="sortable">
<li>Item 1<li>
<li>Item 2<li>
<li>Item 3<li>
<li>Item 4<li>
<li>Item 5<li>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
<li>Item 5</li>
</ul>
</div>

@@ -76,7 +76,7 @@ test("enable", function() {
expect(4);
el = $("#sortable").sortable({ disabled: true });

sort($("li", el)[0], 0, 50, 0, '.sortable({ disabled: true })');
sort($("li", el)[0], 0, 40, 0, '.sortable({ disabled: true })');

el.sortable("enable");
equals(el.data("disabled.sortable"), false, "disabled.sortable getter");
@@ -86,7 +86,7 @@ test("enable", function() {
el.data("disabled.sortable", false);
equals(el.data("disabled.sortable"), false, "disabled.sortable setter");

sort($("li", el)[0], 0, 20, 2, '.data("disabled.sortable", false)');
sort($("li", el)[0], 0, 40, 2, '.data("disabled.sortable", false)');
});

test("disable", function() {

0 comments on commit 63f11cd

Please sign in to comment.
You can’t perform that action at this time.