aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/droppable/helper.js
diff options
context:
space:
mode:
authorAmanpreet Singh <apsdehal@gmail.com>2016-04-03 22:02:14 +0530
committerAmanpreet Singh <apsdehal@gmail.com>2016-04-14 00:06:12 +0530
commit8470b6a96552285a8b8e68fb86a8611d75d017d1 (patch)
tree916d20ed18c1d27b25897e17e09587a12703219c /tests/unit/droppable/helper.js
parent46f607af976abef77bf53685d21fa836359c8438 (diff)
downloadjquery-ui-8470b6a96552285a8b8e68fb86a8611d75d017d1.tar.gz
jquery-ui-8470b6a96552285a8b8e68fb86a8611d75d017d1.zip
Droppable: Shift to use no globals
Diffstat (limited to 'tests/unit/droppable/helper.js')
-rw-r--r--tests/unit/droppable/helper.js15
1 files changed, 8 insertions, 7 deletions
diff --git a/tests/unit/droppable/helper.js b/tests/unit/droppable/helper.js
index b9bc5d6fb..f6bf9e411 100644
--- a/tests/unit/droppable/helper.js
+++ b/tests/unit/droppable/helper.js
@@ -1,19 +1,20 @@
define( [
+ "qunit",
"jquery",
"lib/helper"
-], function( $, helper ) {
+], function( QUnit, $, helper ) {
return $.extend( helper, {
- shouldDrop: function() {
+ shouldDrop: function( assert ) {
- // todo: actually implement this
- ok( true, "missing test - untested code is broken code" );
+ // Todo: actually implement this
+ assert.ok( true, "missing test - untested code is broken code" );
},
- shouldNotDrop: function() {
+ shouldNotDrop: function( assert ) {
- // todo: actually implement this
- ok( true, "missing test - untested code is broken code" );
+ // Todo: actually implement this
+ assert.ok( true, "missing test - untested code is broken code" );
}
} );