jquery-ui/tests/unit/tooltip/deprecated.js
Scott González bde431bb44 Tests: Rename files
Ref gh-1528
2015-04-09 09:27:00 -04:00

17 lines
335 B
JavaScript

define( [
"jquery",
"ui/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" );
});
} );