aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/checkboxradio/methods.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-09-11 10:48:20 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-10-08 14:02:56 -0400
commit641c5ed17a302bcc7cdf395461efdfa12640fcbf (patch)
tree4cc75f5b543f8daede2b0cd04ac83afbf33a46d7 /tests/unit/checkboxradio/methods.js
parent6169099229497aa83ba1eea0875846d52cd89eb8 (diff)
downloadjquery-ui-641c5ed17a302bcc7cdf395461efdfa12640fcbf.tar.gz
jquery-ui-641c5ed17a302bcc7cdf395461efdfa12640fcbf.zip
Checkboxradio: Style updates
Diffstat (limited to 'tests/unit/checkboxradio/methods.js')
-rw-r--r--tests/unit/checkboxradio/methods.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/unit/checkboxradio/methods.js b/tests/unit/checkboxradio/methods.js
index c0ce9fde6..a749ef450 100644
--- a/tests/unit/checkboxradio/methods.js
+++ b/tests/unit/checkboxradio/methods.js
@@ -46,14 +46,14 @@ $.each( [ "checkbox", "radio" ], function( index, value ) {
assert.lacksClasses( icon, "ui-icon-check" );
}
assert.lacksClasses( widget, "ui-checkboxradio-checked" );
- });
+ } );
- test( value + ": destroy", function( assert ){
+ test( value + ": destroy", function( assert ) {
expect( 1 );
assert.domEqual( "#" + value + "-method-destroy", function() {
$( "#" + value + "-method-destroy" ).checkboxradio().checkboxradio( "destroy" );
- });
- });
+ } );
+ } );
test( value + ": disable / enable", function( assert ) {
expect( 4 );
@@ -69,9 +69,9 @@ $.each( [ "checkbox", "radio" ], function( index, value ) {
assert.lacksClasses( widget, "ui-state-disabled" );
strictEqual( input.is( ":disabled" ), false,
value + " has disabled prop removed when enable is called" );
- });
+ } );
- test( value + ": widget returns the label", function(){
+ test( value + ": widget returns the label", function() {
var input = $( "#" + value + "-method-refresh" ),
label = $( "#" + value + "-method-refresh-label" );
@@ -80,7 +80,7 @@ $.each( [ "checkbox", "radio" ], function( index, value ) {
input.checkboxradio();
strictEqual( input.checkboxradio( "widget" )[ 0 ], label[ 0 ],
"widget method returns label" );
- });
+ } );
} );
@@ -92,6 +92,6 @@ test( "Input wrapped in a label preserved on refresh", function() {
input.checkboxradio( "refresh" );
strictEqual( input.parent()[ 0 ], element[ 0 ], "Input preserved" );
-});
+} );
} );