From 1bd910e6d01f636c1c719ad795eb7f5c8e4be543 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rn=20Zaefferer?= Date: Tue, 15 Sep 2009 15:21:42 +0000 Subject: [PATCH] accordion: activate test fix, use false to close, not -1 --- tests/unit/accordion/accordion_methods.js | 3 +-- 1 file changed, 1 insertion(+), 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); }); -- 2.39.5