aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-09-16 01:50:13 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-10-08 14:02:57 -0400
commit6b050342835bd8cee6433d7b947f47d2dc4577f9 (patch)
treeec98c5bde5f86913ad461e09ced6ec33dc9ae25f /tests/unit
parent4acdfa14b2e9ff5c44d0b3cc5f8424efd0c758e4 (diff)
downloadjquery-ui-6b050342835bd8cee6433d7b947f47d2dc4577f9.tar.gz
jquery-ui-6b050342835bd8cee6433d7b947f47d2dc4577f9.zip
Selectmenu: Address review comments
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/selectmenu/core.js5
-rw-r--r--tests/unit/selectmenu/selectmenu.html1
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 @@
<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>