diff options
author | Amanpreet Singh <apsdehal@gmail.com> | 2016-04-06 19:29:12 +0530 |
---|---|---|
committer | Amanpreet Singh <apsdehal@gmail.com> | 2016-04-14 00:14:57 +0530 |
commit | 92f122d5b1c1eaa77ae0ab3af8bf68bf268e300d (patch) | |
tree | b4da2ad985f180f3cb295721ff952c3039e775c9 /tests/unit/tooltip/deprecated.js | |
parent | bfcd6358fe1d088f4d0ecd3632182578c0bfb865 (diff) | |
download | jquery-ui-92f122d5b1c1eaa77ae0ab3af8bf68bf268e300d.tar.gz jquery-ui-92f122d5b1c1eaa77ae0ab3af8bf68bf268e300d.zip |
Tooltip: Shift to use no globals
Diffstat (limited to 'tests/unit/tooltip/deprecated.js')
-rw-r--r-- | tests/unit/tooltip/deprecated.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/unit/tooltip/deprecated.js b/tests/unit/tooltip/deprecated.js index 7fc7d91a4..bce1a6c6a 100644 --- a/tests/unit/tooltip/deprecated.js +++ b/tests/unit/tooltip/deprecated.js @@ -1,12 +1,13 @@ define( [ + "qunit", "jquery", "ui/widgets/tooltip" -], function( $ ) { +], function( QUnit, $ ) { -module( "tooltip: (deprecated) options" ); +QUnit.module( "tooltip: (deprecated) options" ); -test( "tooltipClass", function( assert ) { - expect( 1 ); +QUnit.test( "tooltipClass", function( assert ) { + assert.expect( 1 ); var element = $( "#tooltipped1" ).tooltip( { tooltipClass: "custom" } ).tooltip( "open" ); |