From 6b050342835bd8cee6433d7b947f47d2dc4577f9 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 16 Sep 2015 01:50:13 -0400 Subject: [PATCH] Selectmenu: Address review comments --- tests/unit/selectmenu/core.js | 5 ++--- tests/unit/selectmenu/selectmenu.html | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/unit/selectmenu/core.js b/tests/unit/selectmenu/core.js index 021f9b28a..a6024fb9a 100644 --- a/tests/unit/selectmenu/core.js +++ b/tests/unit/selectmenu/core.js @@ -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" ); } ); diff --git a/tests/unit/selectmenu/selectmenu.html b/tests/unit/selectmenu/selectmenu.html index 14a6c8087..1df6e3ebc 100644 --- a/tests/unit/selectmenu/selectmenu.html +++ b/tests/unit/selectmenu/selectmenu.html @@ -6,7 +6,6 @@ - -- 2.39.5