aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/controlgroup/core.js')
-rw-r--r--tests/unit/controlgroup/core.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/unit/controlgroup/core.js b/tests/unit/controlgroup/core.js
index 205633594..70d6267ad 100644
--- a/tests/unit/controlgroup/core.js
+++ b/tests/unit/controlgroup/core.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: Core" );
@@ -75,11 +76,11 @@ QUnit.test( "selectmenu: controlgroupLabel", function( assert ) {
} );
var assertSanatized = function( assert, initClasses, expectedClasses, message ) {
- var selectmenu = $( "#select-sanatize" ).selectmenu({
+ var selectmenu = $( "#select-sanatize" ).selectmenu( {
classes: {
"ui-selectmenu-button-open": initClasses
}
- }).selectmenu( "instance" );
+ } ).selectmenu( "instance" );
var classes = {
"ui-selectmenu-button-open": "ui-corner-top"
};
@@ -87,7 +88,7 @@ var assertSanatized = function( assert, initClasses, expectedClasses, message )
assert.deepEqual( result, {
"ui-selectmenu-button-open": expectedClasses + " ui-corner-top"
}, message );
-}
+};
QUnit.test( "_resolveClassesValues", function( assert ) {
assert.expect( 6 );