From: Alexander Schmitz Date: Fri, 30 Jan 2015 14:57:30 +0000 (-0500) Subject: Draggable: Use new has/lacksClasses assertions for all class checks X-Git-Tag: 1.12.0-beta.1~396 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d5857ca9e4bfc8b275dedf1dede6f3e0b732632;p=jquery-ui.git Draggable: Use new has/lacksClasses assertions for all class checks --- diff --git a/tests/unit/dialog/dialog_methods.js b/tests/unit/dialog/dialog_methods.js index c012f80a5..c92f1f1b4 100644 --- a/tests/unit/dialog/dialog_methods.js +++ b/tests/unit/dialog/dialog_methods.js @@ -105,7 +105,7 @@ test( "enable/disable disabled", function( assert ) { var element = $( "
" ).dialog(); element.dialog( "disable" ); equal(element.dialog( "option", "disabled" ), false, "disable method doesn't do anything" ); - assert.lacksClasses( element, "ui-dialog-disabled ui-state-disabled" ); + assert.lacksClasses( element, "ui-dialog-disabled ui-state-disabled", "disable method doesn't add classes" ); ok( !element.dialog( "widget" ).attr( "aria-disabled" ), "disable method doesn't add aria-disabled" ); }); diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index eb4985adc..a8fdf91ca 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -68,6 +68,7 @@ +