aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/deprecated.js
blob: b1325057bfa4e9fc729d3d3218ea9cb0bf372b79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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" );
});

} );