diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-01-31 13:11:20 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-01-31 13:11:20 -0500 |
commit | 853b515e5c6f02dff1a4693eaf6c16d8bafc1395 (patch) | |
tree | da6684f9226a61645d172258275b0d583a4d08c3 /tests/unit | |
parent | 8f521f9d9e354a160df116df02b6c1e29d9fa458 (diff) | |
download | jquery-ui-853b515e5c6f02dff1a4693eaf6c16d8bafc1395.tar.gz jquery-ui-853b515e5c6f02dff1a4693eaf6c16d8bafc1395.zip |
Accordion: Adjusted tests for icons: false.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/accordion/accordion_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js index a60bb27e1..8206b1d62 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/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 ); |