Accordion: Adjusted tests for icons: false.

This commit is contained in:
Scott González 2012-01-31 13:11:20 -05:00
parent 8f521f9d9e
commit 853b515e5c

View File

@ -255,7 +255,7 @@ test( "{ icons: false }", function() {
var element = $( "#list1" );
function icons( on ) {
deepEqual( element.find( "span.ui-icon").length, on ? 3 : 0 );
deepEqual( element.hasClass( "ui-accordion-icons" ), on );
deepEqual( element.find( ".ui-accordion-header.ui-accordion-icons" ).length, on ? 3 : 0 );
}
element.accordion();
icons( true );