Skip to content

Commit 853b515

Browse files
committed
Accordion: Adjusted tests for icons: false.
1 parent 8f521f9 commit 853b515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/accordion/accordion_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ test( "{ icons: false }", function() {
255255
var element = $( "#list1" );
256256
function icons( on ) {
257257
deepEqual( element.find( "span.ui-icon").length, on ? 3 : 0 );
258-
deepEqual( element.hasClass( "ui-accordion-icons" ), on );
258+
deepEqual( element.find( ".ui-accordion-header.ui-accordion-icons" ).length, on ? 3 : 0 );
259259
}
260260
element.accordion();
261261
icons( true );

0 commit comments

Comments
 (0)