diff --git a/tests/unit/checkboxradio/checkboxradio_core.js b/tests/unit/checkboxradio/checkboxradio_core.js index 12deaabc..61ae2fe5 100644 --- a/tests/unit/checkboxradio/checkboxradio_core.js +++ b/tests/unit/checkboxradio/checkboxradio_core.js @@ -51,16 +51,16 @@ $checkbox.unbind( "change" ); - expect( 2 ); + expect( 1 ); - $checkbox.change(function(){ + $checkbox.one('change', function(){ ok( true, "change fired on click to check the box" ); }); $checkboxLabel.trigger( "click" ); //test above will be triggered twice, and the start here once - $checkbox.change( function(){ + $checkbox.one('change', function(){ start(); }); @@ -119,7 +119,6 @@ // not testing the positive case here since's it's obviously tested elsewhere test( "checkboxradio elements in the keepNative set shouldn't be enhanced", function() { - console.log( ); ok( !$("input.should-be-native").parent().is("div.ui-checkbox") ); }); })(jQuery);