Skip to content
Permalink
Browse files

accordion tests: Fixed autoHeight tests.

  • Loading branch information
scottgonzalez committed May 28, 2008
1 parent 3fd0d70 commit 46cfa2f147b84e68505ee5e9a4017ade00f8bea4
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/tests/accordion.js
@@ -14,11 +14,11 @@ test("basics", function() {
});

test("autoheight", function() {
$('#navigation').accordion({ header: '.head', autoheight: false });
$('#navigation').accordion({ header: '.head', autoHeight: false });
equals( 90, $('#navigation ul:first').height() );
equals( 126, $('#navigation ul:eq(1)').height() );
equals( 54, $('#navigation ul:last').height() );
$('#navigation').accordion("destroy").accordion({ header: '.head',autoheight: true });
$('#navigation').accordion("destroy").accordion({ header: '.head', autoHeight: true });
equals( 126, $('#navigation ul:first').height() );
equals( 126, $('#navigation ul:eq(1)').height() );
equals( 126, $('#navigation ul:last').height() );

0 comments on commit 46cfa2f

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