aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/droppable/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/droppable/common.js')
-rw-r--r--tests/unit/droppable/common.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/unit/droppable/common.js b/tests/unit/droppable/common.js
new file mode 100644
index 000000000..ef8e11692
--- /dev/null
+++ b/tests/unit/droppable/common.js
@@ -0,0 +1,26 @@
+define( [
+ "lib/common",
+ "ui/droppable"
+], function( common ) {
+
+common.testWidget( "droppable", {
+ defaults: {
+ accept: "*",
+ addClasses: true,
+ classes: {},
+ disabled: false,
+ greedy: false,
+ scope: "default",
+ tolerance: "intersect",
+
+ // callbacks
+ activate: null,
+ create: null,
+ deactivate: null,
+ drop: null,
+ out: null,
+ over: null
+ }
+});
+
+} );