aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable_common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/draggable/draggable_common.js')
-rw-r--r--tests/unit/draggable/draggable_common.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/draggable_common.js
index 6a70cd7d4..7ae032c0f 100644
--- a/tests/unit/draggable/draggable_common.js
+++ b/tests/unit/draggable/draggable_common.js
@@ -1,4 +1,9 @@
-TestHelpers.commonWidgetTests( "draggable", {
+define( [
+ "lib/common",
+ "ui/draggable"
+], function( common ) {
+
+common.testWidget( "draggable", {
defaults: {
appendTo: "parent",
axis: false,
@@ -39,3 +44,5 @@ TestHelpers.commonWidgetTests( "draggable", {
stop: null
}
});
+
+} );