aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 21:12:05 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-09-15 21:12:05 +0000
commit06702d8b3007ca37db4578078901172c64ea97be (patch)
treeb59d7ddeed2063b2d22ad49f710939d39ab7d89f /tests/unit/accordion
parent0508fd0e04b104f0483f915cbc13b06605e08c0d (diff)
downloadjquery-ui-06702d8b3007ca37db4578078901172c64ea97be.tar.gz
jquery-ui-06702d8b3007ca37db4578078901172c64ea97be.zip
updated to latest QUnit
Diffstat (limited to 'tests/unit/accordion')
-rw-r--r--tests/unit/accordion/accordion.html2
-rw-r--r--tests/unit/accordion/accordion_methods.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html
index 3943d914d..d300c0eec 100644
--- a/tests/unit/accordion/accordion.html
+++ b/tests/unit/accordion/accordion.html
@@ -8,7 +8,7 @@
<script type="text/javascript" src="../../../ui/ui.accordion.js"></script>
<link type="text/css" href="../testsuite.css" rel="stylesheet" />
- <script type="text/javascript" src="../../../external/testrunner-r6416.js"></script>
+ <script type="text/javascript" src="../../../external/testrunner-r6574.js"></script>
<script type="text/javascript" src="../../jquery.simulate.js"></script>
<script type="text/javascript" src="../testsuite.js"></script>
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js
index 91ed11c5a..bc77949d7 100644
--- a/tests/unit/accordion/accordion_methods.js
+++ b/tests/unit/accordion/accordion_methods.js
@@ -130,9 +130,10 @@ test("activate, string expression", function() {
ac.accordion("activate", ":eq(1)");
state(ac, 0, 1, 0);
ac.accordion("activate", ":last");
- state(ac, 0, 0, 1);
+ state(ac, 0, 1, 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);