diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/draggable_common.js index 0a406f768..c2b6ee96e 100644 --- a/tests/unit/draggable/draggable_common.js +++ b/tests/unit/draggable/draggable_common.js @@ -27,18 +27,11 @@ TestHelpers.commonWidgetTests( "draggable", { snapTolerance: 20, stack: false, zIndex: false, - cancel: null + cancel: null, - // // methods - // destroy: null, - // disable: null, - // enable: null, - // option: null, - // widget: null, - - // // callbacks + // callbacks // beforeStart: null, - // create: null, + create: null // drag: null, // start: null, // stop: null diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 7ad9ef1e8..ce7860c45 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -266,6 +266,7 @@ test( "{ cursorAt: left, top }", function() { deltaY = -3, tests = { "{ left: -5, top: -5 }": { x: -5, y: -5, cursorAt : { left: -5, top: -5 } }, + "[ 10, 20 ]": { x: 10, y: 20, cursorAt : [ 10, 20 ] }, "{ left: 20, top: 40 }": { x: 20, y: 40, cursorAt : { left: 20, top: 40 } }, "{ right: 10, bottom: 20 }": { x: 10, y: 20, cursorAt : { right: 10, bottom: 20 } } };