aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-03-15 06:45:38 -0400
committerScott González <scott.gonzalez@gmail.com>2013-03-15 06:45:38 -0400
commit43442c319643ee9fb6f54737d921ba8b03f3ae6b (patch)
tree6e5034120c39d3807fcb0d565807d5f88bd53400 /tests
parent0cc40d799ffdf7aa978f910b890915ee6ad7a2b8 (diff)
downloadjquery-ui-43442c319643ee9fb6f54737d921ba8b03f3ae6b.tar.gz
jquery-ui-43442c319643ee9fb6f54737d921ba8b03f3ae6b.zip
Accordion: Remove deprecated content property in create event. Fixes #8999 - Accordion: Remove content property from create event.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/accordion/accordion_events.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/unit/accordion/accordion_events.js b/tests/unit/accordion/accordion_events.js
index 79283d11c..5f6cfa8bc 100644
--- a/tests/unit/accordion/accordion_events.js
+++ b/tests/unit/accordion/accordion_events.js
@@ -6,7 +6,7 @@ var setupTeardown = TestHelpers.accordion.setupTeardown,
module( "accordion: events", setupTeardown() );
test( "create", function() {
- expect( 15 );
+ expect( 10 );
var element = $( "#list1" ),
headers = element.children( "h3" ),
@@ -18,8 +18,6 @@ test( "create", function() {
strictEqual( ui.header[ 0 ], headers[ 0 ], "header" );
equal( ui.panel.length, 1, "panel length" );
strictEqual( ui.panel[ 0 ], contents[ 0 ], "panel" );
- equal( ui.content.length, 1, "content length" );
- strictEqual( ui.content[ 0 ], contents[ 0 ], "content" );
}
});
element.accordion( "destroy" );
@@ -31,8 +29,6 @@ test( "create", function() {
strictEqual( ui.header[ 0 ], headers[ 2 ], "header" );
equal( ui.panel.length, 1, "panel length" );
strictEqual( ui.panel[ 0 ], contents[ 2 ], "panel" );
- equal( ui.content.length, 1, "content length" );
- strictEqual( ui.content[ 0 ], contents[ 2 ], "content" );
}
});
element.accordion( "destroy" );
@@ -43,7 +39,6 @@ test( "create", function() {
create: function( event, ui ) {
equal( ui.header.length, 0, "header length" );
equal( ui.panel.length, 0, "panel length" );
- equal( ui.content.length, 0, "content length" );
}
});
element.accordion( "destroy" );