aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-04-13 10:36:04 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-04-13 10:36:04 +0200
commitcfe3be7234e397c1de3d8ec50404636f1119a648 (patch)
tree59a7c3c853aed54caa063f6738fe01e69b3a1458 /tests/unit
parent4f4843a9fb69c95f5fba0a4b2bbf526c035a8430 (diff)
downloadjquery-ui-cfe3be7234e397c1de3d8ec50404636f1119a648.tar.gz
jquery-ui-cfe3be7234e397c1de3d8ec50404636f1119a648.zip
Accordion unit tests: One more height-testing hotfix for Safari 3.x
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/accordion/accordion_options.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js
index 31aabc0d1..8abbd9786 100644
--- a/tests/unit/accordion/accordion_options.js
+++ b/tests/unit/accordion/accordion_options.js
@@ -73,11 +73,11 @@ test("{ autoHeight: false }", function() {
var accordion = $('#navigation').accordion({ autoHeight: false });
var sizes = [];
accordion.find(".ui-accordion-content").each(function() {
- sizes.push($(this).outerHeight());
+ sizes.push($(this).height());
});
- ok( sizes[0] >= 70 && sizes[0] <= 90 );
- ok( sizes[1] >= 98 && sizes[1] <= 126 );
- ok( sizes[2] >= 54 && sizes[2] <= 54 );
+ ok( sizes[0] >= 70 && sizes[0] <= 90, "was " + sizes[0] );
+ ok( sizes[1] >= 98 && sizes[1] <= 126, "was " + sizes[1] );
+ ok( sizes[2] >= 54 && sizes[2] <= 54, "was " + sizes[2] );
});
test("{ collapsible: false }, default", function() {