]> source.dussan.org Git - jquery-ui.git/commitdiff
accordion tests: Fixed autoHeight tests.
authorScott González <scott.gonzalez@gmail.com>
Wed, 28 May 2008 19:35:09 +0000 (19:35 +0000)
committerScott González <scott.gonzalez@gmail.com>
Wed, 28 May 2008 19:35:09 +0000 (19:35 +0000)
ui/tests/accordion.js

index 792c104d4dec3b840b3bb2731807cf7f641ce23f..a2b053833bebc2edee7cd3a798183414306184a6 100644 (file)
@@ -14,11 +14,11 @@ test("basics", function() {
 });\r
 \r
 test("autoheight", function() {\r
-       $('#navigation').accordion({ header: '.head', autoheight: false });\r
+       $('#navigation').accordion({ header: '.head', autoHeight: false });\r
        equals( 90, $('#navigation ul:first').height() );\r
        equals( 126, $('#navigation ul:eq(1)').height() );\r
        equals( 54, $('#navigation ul:last').height() );\r
-       $('#navigation').accordion("destroy").accordion({ header: '.head',autoheight: true });\r
+       $('#navigation').accordion("destroy").accordion({ header: '.head', autoHeight: true });\r
        equals( 126, $('#navigation ul:first').height() );\r
        equals( 126, $('#navigation ul:eq(1)').height() );\r
        equals( 126, $('#navigation ul:last').height() );\r