aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/tooltip_deprecated.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-06 20:28:55 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:26:27 -0400
commita2da340e0d1b02d243c71b86382e5e624e7211d6 (patch)
tree91726ee56f182a1d2bae81b4d9de68291dc8c876 /tests/unit/tooltip/tooltip_deprecated.js
parent7d4811206f8b64e9bd8eea168a77edf23629659b (diff)
downloadjquery-ui-a2da340e0d1b02d243c71b86382e5e624e7211d6.tar.gz
jquery-ui-a2da340e0d1b02d243c71b86382e5e624e7211d6.zip
Tooltip: Convert tests to new infrastructure
Ref #10119 Ref gh-1528
Diffstat (limited to 'tests/unit/tooltip/tooltip_deprecated.js')
-rw-r--r--tests/unit/tooltip/tooltip_deprecated.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/tooltip/tooltip_deprecated.js b/tests/unit/tooltip/tooltip_deprecated.js
index a53a27050..057171ee2 100644
--- a/tests/unit/tooltip/tooltip_deprecated.js
+++ b/tests/unit/tooltip/tooltip_deprecated.js
@@ -1,4 +1,7 @@
-(function( $ ) {
+define( [
+ "jquery",
+ "ui/tooltip"
+], function( $ ) {
module( "tooltip: (deprecated) options" );
@@ -10,4 +13,4 @@ test( "tooltipClass", function( assert ) {
assert.hasClasses( $( "#" + element.data( "ui-tooltip-id" ) ), "custom" );
});
-}( jQuery ) );
+} );