module( "selectmenu: core" );
test( "markup structure", function( assert ) {
- expect( 5 );
+ expect( 4 );
var element = $( "#files" ).selectmenu(),
button = element.selectmenu( "widget" ),
assert.hasClasses( button,
"ui-selectmenu-button ui-selectmenu-button-closed ui-widget" );
- assert.lacksClasses( button, "ui-selectmenu-button-open" );
- assert.lacksClasses( button, "ui-selectmenu-open" );
+ assert.lacksClasses( button, "ui-selectmenu-button-open ui-selectmenu-open" );
assert.hasClasses( menuWrap, "ui-selectmenu-menu" );
assert.lacksClasses( menuWrap, "ui-selectmenu-menu-open" );
} );
<script src="../../../external/requirejs/require.js"></script>
<script src="../../lib/css.js" data-modules="core menu selectmenu button"></script>
<script src="../../lib/bootstrap.js" data-widget="selectmenu"></script>
-
</head>
<body>