Skip to content

Commit 6e0b2a5

Browse files
committed
Controlgroup: Test cleanup
1 parent d4b0699 commit 6e0b2a5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

tests/unit/controlgroup/common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ define( [
88

99
common.testWidget( "controlgroup", {
1010
defaults: {
11+
classes: {},
12+
direction: "horizontal",
1113
disabled: null,
1214
items: {
1315
"button": "input[type=button], input[type=submit], input[type=reset], button, a",
@@ -16,9 +18,7 @@ common.testWidget( "controlgroup", {
1618
"spinner": ".ui-spinner-input",
1719
"controlgroupLabel": ".ui-controlgroup-label"
1820
},
19-
direction: "horizontal",
2021
onlyVisible: true,
21-
classes: {},
2222

2323
// Callbacks
2424
create: null

tests/unit/controlgroup/methods.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ test( "destroy", function( assert ) {
1414
$( ".controlgroup" ).controlgroup().controlgroup( "destroy" );
1515
} );
1616
} );
17+
1718
test( "disable", function( assert ) {
1819
expect( 2 );
1920
var element = $( ".controlgroup" ).controlgroup().controlgroup( "disable" );
@@ -142,7 +143,6 @@ $.each( tests, function( widget, html ) {
142143

143144
// remove the controlgroup before we start the next set
144145
element.remove();
145-
146146
} );
147147
} );
148148
} );

tests/unit/controlgroup/options.js

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ $.widget( "ui.test", {
5959
// Controlgroup requires a refresh method to exist
6060
refresh: $.noop
6161
} );
62+
6263
test( "items: custom widget", function() {
6364
expect( 2 );
6465
var element = $( ".controlgroup" ).controlgroup( {

0 commit comments

Comments
 (0)