Skip to content
Permalink
Browse files

Accordion unit tests: One more height-testing hotfix for Safari 3.x

  • Loading branch information
jzaefferer committed Apr 13, 2010
1 parent 4f4843a commit cfe3be7234e397c1de3d8ec50404636f1119a648
Showing with 4 additions and 4 deletions.
  1. +4 −4 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() {

0 comments on commit cfe3be7

Please sign in to comment.
You can’t perform that action at this time.