diff options
Diffstat (limited to 'tests/unit/controlgroup/options.js')
-rw-r--r-- | tests/unit/controlgroup/options.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/unit/controlgroup/options.js b/tests/unit/controlgroup/options.js index 674bc0d59..db9a29a2d 100644 --- a/tests/unit/controlgroup/options.js +++ b/tests/unit/controlgroup/options.js @@ -4,7 +4,8 @@ define( [ "ui/widgets/controlgroup", "ui/widgets/checkboxradio", "ui/widgets/selectmenu", - "ui/widgets/button" + "ui/widgets/button", + "ui/widgets/spinner" ], function( QUnit, $ ) { QUnit.module( "Controlgroup: options" ); @@ -13,7 +14,7 @@ QUnit.test( "disabled", function( assert ) { assert.expect( 4 ); var element = $( ".controlgroup" ).controlgroup().controlgroup( "option", "disabled", true ); assert.lacksClasses( element, "ui-state-disabled" ); - assert.equal( element.find( ".ui-state-disabled" ).length, 6, "Child widgets are disabled" ); + assert.equal( element.find( ".ui-state-disabled" ).length, 9, "Child widgets are disabled" ); element.controlgroup( "option", "disabled", false ); assert.lacksClasses( element, "ui-state-disabled" ); |