]> source.dussan.org Git - jquery-ui.git/commitdiff
Selectmenu: Address review comments
authorAlexander Schmitz <arschmitz@gmail.com>
Wed, 16 Sep 2015 05:50:13 +0000 (01:50 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Thu, 8 Oct 2015 18:02:57 +0000 (14:02 -0400)
tests/unit/selectmenu/core.js
tests/unit/selectmenu/selectmenu.html

index 021f9b28a7538d81e53e72c2f7778cec58a2fb87..a6024fb9adffb16af8cc0d7362d904050032062d 100644 (file)
@@ -6,7 +6,7 @@ define( [
 module( "selectmenu: core" );
 
 test( "markup structure", function( assert ) {
-       expect( 5 );
+       expect( 4 );
 
        var element = $( "#files" ).selectmenu(),
                button = element.selectmenu( "widget" ),
@@ -15,8 +15,7 @@ test( "markup structure", function( assert ) {
 
        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" );
 } );
index 14a6c8087bda399175443af52fd3150102215d84..1df6e3ebc70ad0270e66b017d05bbd21f78ada40 100644 (file)
@@ -6,7 +6,6 @@
        <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>