aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/deprecated.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tooltip/deprecated.js')
-rw-r--r--tests/unit/tooltip/deprecated.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/tooltip/deprecated.js b/tests/unit/tooltip/deprecated.js
index 4d3975e84..cc4dcf0ee 100644
--- a/tests/unit/tooltip/deprecated.js
+++ b/tests/unit/tooltip/deprecated.js
@@ -16,6 +16,8 @@ QUnit.test( "tooltipClass", function( assert ) {
tooltipClass: "custom"
} ).tooltip( "open" );
assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
+
+ element.tooltip( "destroy" );
} );
} );