diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-01-30 09:57:30 -0500 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-03-11 16:05:39 -0400 |
commit | 2d5857ca9e4bfc8b275dedf1dede6f3e0b732632 (patch) | |
tree | 34f71de39366805919596135c24d5a13ab0030a0 /tests/unit/dialog | |
parent | a9fa490418c911ff8a170c5d2e87e5dbc3be3ea3 (diff) | |
download | jquery-ui-2d5857ca9e4bfc8b275dedf1dede6f3e0b732632.tar.gz jquery-ui-2d5857ca9e4bfc8b275dedf1dede6f3e0b732632.zip |
Draggable: Use new has/lacksClasses assertions for all class checks
Diffstat (limited to 'tests/unit/dialog')
-rw-r--r-- | tests/unit/dialog/dialog_methods.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 = $( "<div></div>" ).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" ); }); |