aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable_common.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
commit0f575e03bb9af0b09d18a9207d9f589e05f44d50 (patch)
tree18251a2d3e7c51adb8f265158ca0361f5cca73d1 /tests/unit/draggable/draggable_common.js
parentaf1576280a807dcc166ddf619abab1fc24cac664 (diff)
parent9df981d268b4029065247cf230a4e988946b7799 (diff)
downloadjquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.tar.gz
jquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.zip
Merge branch 'master' into position-notification
Conflicts: tests/unit/position/position_core_within.js
Diffstat (limited to 'tests/unit/draggable/draggable_common.js')
-rw-r--r--tests/unit/draggable/draggable_common.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/draggable_common.js
new file mode 100644
index 000000000..b47b139cd
--- /dev/null
+++ b/tests/unit/draggable/draggable_common.js
@@ -0,0 +1,32 @@
+TestHelpers.commonWidgetTests( "draggable", {
+ defaults: {
+ addClasses: true,
+ appendTo: "parent",
+ axis: false,
+ cancel: ":input,option",
+ connectToSortable: false,
+ containment: false,
+ cursor: "auto",
+ cursorAt: false,
+ delay: 0,
+ disabled: false,
+ distance: 1,
+ grid: false,
+ handle: false,
+ helper: "original",
+ iframeFix: false,
+ opacity: false,
+ refreshPositions: false,
+ revert: false,
+ revertDuration: 500,
+ scroll: true,
+ scrollSensitivity: 20,
+ scrollSpeed: 20,
+ scope: "default",
+ snap: false,
+ snapMode: "both",
+ snapTolerance: 20,
+ stack: false,
+ zIndex: false
+ }
+});