From 8470b6a96552285a8b8e68fb86a8611d75d017d1 Mon Sep 17 00:00:00 2001 From: Amanpreet Singh Date: Sun, 3 Apr 2016 22:02:14 +0530 Subject: Droppable: Shift to use no globals --- tests/unit/droppable/helper.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'tests/unit/droppable/helper.js') 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" ); } } ); -- cgit v1.2.3