diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-01-30 11:01:32 -0500 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-03-11 16:05:41 -0400 |
commit | 7b01dc3d2c14e34740d344e2a0f714ed59915d2c (patch) | |
tree | 7ade002144df016b37b49597749866666f5822d0 /tests/unit/tooltip/tooltip_deprecated.js | |
parent | b88a8210707a0c88db381927d0da8cdde4402ef7 (diff) | |
download | jquery-ui-7b01dc3d2c14e34740d344e2a0f714ed59915d2c.tar.gz jquery-ui-7b01dc3d2c14e34740d344e2a0f714ed59915d2c.zip |
Tooltip: Use new has/lacksClasses assertions for all class checks
Diffstat (limited to 'tests/unit/tooltip/tooltip_deprecated.js')
-rw-r--r-- | tests/unit/tooltip/tooltip_deprecated.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/tooltip/tooltip_deprecated.js b/tests/unit/tooltip/tooltip_deprecated.js index 426f583ec..a53a27050 100644 --- a/tests/unit/tooltip/tooltip_deprecated.js +++ b/tests/unit/tooltip/tooltip_deprecated.js @@ -2,12 +2,12 @@ module( "tooltip: (deprecated) options" ); -test( "tooltipClass", function() { +test( "tooltipClass", function( assert ) { expect( 1 ); var element = $( "#tooltipped1" ).tooltip({ tooltipClass: "custom" }).tooltip( "open" ); - ok( $( "#" + element.data( "ui-tooltip-id" ) ).hasClass( "custom" ) ); + assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" ); }); }( jQuery ) ); |