aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-04-03 17:14:58 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-04-03 17:14:58 +0200
commitcf2b0ca0d8b803c046e219dd6efed120f8e14fea (patch)
tree1a05e78e592b803b282c7ae38ab47efeb0ec80f7 /tests/unit/accordion
parentcae15a4d374168fa2af7fd8d8d13c286a9a8a3c9 (diff)
downloadjquery-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.js3
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);