diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 15:21:42 +0000 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2009-09-15 15:21:42 +0000 |
commit | 1bd910e6d01f636c1c719ad795eb7f5c8e4be543 (patch) | |
tree | 5d81dec3ce82919686481ed54dfa1920e9c959ca /tests/unit/accordion | |
parent | ee28074bb038d357ea28bbc36e40ac6686380d3f (diff) | |
download | jquery-ui-1bd910e6d01f636c1c719ad795eb7f5c8e4be543.tar.gz jquery-ui-1bd910e6d01f636c1c719ad795eb7f5c8e4be543.zip |
accordion: activate test fix, use false to close, not -1
Diffstat (limited to 'tests/unit/accordion')
-rw-r--r-- | tests/unit/accordion/accordion_methods.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js index 75c11b46b..91ed11c5a 100644 --- a/tests/unit/accordion/accordion_methods.js +++ b/tests/unit/accordion/accordion_methods.js @@ -69,7 +69,6 @@ test("enable", function() { var expected = $('#list1').accordion(), actual = expected.accordion('enable'); equals(actual, expected, 'enable is chainable'); - state(expected, 1, 0, 0) }); @@ -119,7 +118,7 @@ test("activate, boolean and numeric, collapsible:true", function() { test("activate, boolean, collapsible: false", function() { var ac = $('#list1').accordion().accordion("activate", 2); state(ac, 0, 0, 1); - ac.accordion("activate", -1); + ac.accordion("activate", false); state(ac, 0, 0, 1); }); |