diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-03 17:14:58 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-03 17:14:58 +0200 |
commit | cf2b0ca0d8b803c046e219dd6efed120f8e14fea (patch) | |
tree | 1a05e78e592b803b282c7ae38ab47efeb0ec80f7 /tests/unit/accordion | |
parent | cae15a4d374168fa2af7fd8d8d13c286a9a8a3c9 (diff) | |
download | jquery-ui-cf2b0ca0d8b803c046e219dd6efed120f8e14fea.tar.gz jquery-ui-cf2b0ca0d8b803c046e219dd6efed120f8e14fea.zip |
Accordion unit tests: Cleanup
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 c31f22008..37807964a 100644 --- a/tests/unit/accordion/accordion_methods.js +++ b/tests/unit/accordion/accordion_methods.js @@ -103,8 +103,7 @@ test("activate, string expression", function() { ac.accordion("activate", ":last"); state(ac, 0, 0, 1); }); -//[ 0, 1, 1 ] result: [ 0, 0, 1 ] -//[ 0, 1, 1] result: [ 0, 0, 1] + test("activate, jQuery or DOM element", function() { var ac = $('#list1').accordion({ active: $("#list1 a:last") }); state(ac, 0, 0, 1); |