Skip to content
Permalink
Browse files

Accordion: Adjusted tests for icons: false.

  • Loading branch information...
scottgonzalez committed Jan 31, 2012
1 parent 8f521f9 commit 853b515e5c6f02dff1a4693eaf6c16d8bafc1395
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/accordion/accordion_options.js
@@ -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 );

0 comments on commit 853b515

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