aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2009-08-06 18:44:36 +0000
committerJörn Zaefferer <joern.zaefferer@gmail.com>2009-08-06 18:44:36 +0000
commit425e76355a289341eb588874e04b82afdc9eeb99 (patch)
tree5fb46b03e53d5faa4be7b264b218e06673453f4c /tests
parent20e6ef30a7465294cdee081f14eb8ef3e0821514 (diff)
downloadjquery-ui-425e76355a289341eb588874e04b82afdc9eeb99.tar.gz
jquery-ui-425e76355a289341eb588874e04b82afdc9eeb99.zip
accordion: fix for #4754; related tests were failing before, fixed them, too (checked to correct sizes in Firebug)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/accordion/accordion_options.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js
index 95edae597..bb844f838 100644
--- a/tests/unit/accordion/accordion_options.js
+++ b/tests/unit/accordion/accordion_options.js
@@ -55,16 +55,16 @@ test("{ animated: String }", function() {
test("{ autoHeight: true }, default", function() {
$('#navigation').accordion({ autoHeight: true });
- equals( $('#navigation > li:eq(0) > ul').height(), 112 );
- equals( $('#navigation > li:eq(1) > ul').height(), 112 );
- equals( $('#navigation > li:eq(2) > ul').height(), 112 );
+ equals( $('#navigation > li:eq(0) > ul').height(), 126 );
+ equals( $('#navigation > li:eq(1) > ul').height(), 126 );
+ equals( $('#navigation > li:eq(2) > ul').height(), 126 );
});
test("{ autoHeight: false }", function() {
$('#navigation').accordion({ autoHeight: false });
- equals( $('#navigation > li:eq(0) > ul').height(), 80 );
- equals( $('#navigation > li:eq(1) > ul').height(), 112 );
- equals( $('#navigation > li:eq(2) > ul').height(), 48 );
+ equals( $('#navigation > li:eq(0) > ul').height(), 90 );
+ equals( $('#navigation > li:eq(1) > ul').height(), 126 );
+ equals( $('#navigation > li:eq(2) > ul').height(), 54 );
});
test("{ clearStyle: false }, default", function() {