aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion/accordion_core.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-07-26 14:36:18 -0400
committerScott González <scott.gonzalez@gmail.com>2011-07-26 14:36:18 -0400
commitda0714e0dc1630dff2c57a1e9a8963f73da4b2f3 (patch)
tree14d6051e30c34da099d793cb234d414653d94da3 /tests/unit/accordion/accordion_core.js
parent02903259e1f6afee1b13d6431900610c70fb03b1 (diff)
downloadjquery-ui-da0714e0dc1630dff2c57a1e9a8963f73da4b2f3.tar.gz
jquery-ui-da0714e0dc1630dff2c57a1e9a8963f73da4b2f3.zip
Accordion tests: Fixed location of expect() call.
Diffstat (limited to 'tests/unit/accordion/accordion_core.js')
-rw-r--r--tests/unit/accordion/accordion_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/accordion/accordion_core.js b/tests/unit/accordion/accordion_core.js
index ec4ca29d5..18d2d6bfb 100644
--- a/tests/unit/accordion/accordion_core.js
+++ b/tests/unit/accordion/accordion_core.js
@@ -3,8 +3,8 @@
module( "accordion: core", accordionSetupTeardown() );
$.each( { div: "#list1", ul: "#navigation", dl: "#accordion-dl" }, function( type, selector ) {
- expect( 4 );
test( "markup structure: " + type, function() {
+ expect( 4 );
var element = $( selector ).accordion();
ok( element.hasClass( "ui-accordion" ), "main element is .ui-accordion" );
equal( element.find( ".ui-accordion-header" ).length, 3,