diff options
Diffstat (limited to 'tests/unit/button/button_events.js')
-rw-r--r-- | tests/unit/button/button_events.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/unit/button/button_events.js b/tests/unit/button/button_events.js index b808b59b7..7b79c41ea 100644 --- a/tests/unit/button/button_events.js +++ b/tests/unit/button/button_events.js @@ -23,15 +23,4 @@ test( "when button loses focus, ensure active state is removed (#8559)", functio }).focus().simulate( "keydown", { keyCode: $.ui.keyCode.ENTER } ).simulate( "keypress", { keyCode: $.ui.keyCode.ENTER } ); }); -test( "ensure checked and aria after single click on checkbox label button", function() { - expect( 3 ); - - $("#check2").button().change( function() { - var lbl = $( this ).button("widget"); - ok( this.checked, "checked ok" ); - ok( lbl.attr("aria-pressed") === "true", "aria ok" ); - ok( lbl.hasClass("ui-state-active"), "ui-state-active ok" ); - }).button("widget").simulate("click"); -}); - })(jQuery); |