aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/dialog/deprecated.js
diff options
context:
space:
mode:
authorAmanpreet Singh <apsdehal@gmail.com>2016-04-03 21:40:09 +0530
committerAmanpreet Singh <apsdehal@gmail.com>2016-04-14 00:06:12 +0530
commit86fd11d5a73c1500d0efef07653f69c0e58e2db3 (patch)
tree23170d66901fda310296fe047dba86d3a414441c /tests/unit/dialog/deprecated.js
parente8e886770757bc21ddb1151fbbd956c031a8e2c4 (diff)
downloadjquery-ui-86fd11d5a73c1500d0efef07653f69c0e58e2db3.tar.gz
jquery-ui-86fd11d5a73c1500d0efef07653f69c0e58e2db3.zip
Dialog: Shift to use no globals
Diffstat (limited to 'tests/unit/dialog/deprecated.js')
-rw-r--r--tests/unit/dialog/deprecated.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/unit/dialog/deprecated.js b/tests/unit/dialog/deprecated.js
index 1a6794338..960bf0dc4 100644
--- a/tests/unit/dialog/deprecated.js
+++ b/tests/unit/dialog/deprecated.js
@@ -1,12 +1,13 @@
define( [
+ "qunit",
"jquery",
"ui/widgets/dialog"
-], function( $ ) {
+], function( QUnit, $ ) {
-module( "dialog (deprecated): options" );
+QUnit.module( "dialog (deprecated): options" );
-test( "dialogClass", function( assert ) {
- expect( 5 );
+QUnit.test( "dialogClass", function( assert ) {
+ assert.expect( 5 );
var element = $( "<div>" ).dialog(),
widget = element.dialog( "widget" );