jquery-ui/tests/unit/tooltip/deprecated.js
Alexander Schmitz a0892eca70 Tooltip: Style updates
Ref #14246
2015-09-11 08:29:07 -04:00

17 lines
346 B
JavaScript

define( [
"jquery",
"ui/widgets/tooltip"
], function( $ ) {
module( "tooltip: (deprecated) options" );
test( "tooltipClass", function( assert ) {
expect( 1 );
var element = $( "#tooltipped1" ).tooltip( {
tooltipClass: "custom"
} ).tooltip( "open" );
assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
} );
} );