aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tests/draggable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-05-23 13:32:32 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-05-23 13:32:32 +0000
commit63091e2c980047176b65639bf8f497c1a54aca56 (patch)
tree7d69097e09e292512ea9c5ba8d0480062181905a /ui/tests/draggable.js
parent67f393fd7c9c62e13b5791472d20b9497fd3194a (diff)
downloadjquery-ui-63091e2c980047176b65639bf8f497c1a54aca56.tar.gz
jquery-ui-63091e2c980047176b65639bf8f497c1a54aca56.zip
Diffstat (limited to 'ui/tests/draggable.js')
-rw-r--r--ui/tests/draggable.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/ui/tests/draggable.js b/ui/tests/draggable.js
new file mode 100644
index 000000000..f4b17b1ff
--- /dev/null
+++ b/ui/tests/draggable.js
@@ -0,0 +1,19 @@
+$.fn.triggerKeydown = function(keyCode) {
+ return this.trigger("keydown", [$.event.fix({event:"keydown", keyCode: keyCode, target: this[0]})]);
+};
+
+
+$(document).ready(function() {
+
+ $("#draggable1").draggable();
+
+ module("draggable: simple drag & drop");
+
+ test("simple drag", function() {
+
+ expect(1);
+ ok(true, "Drag and drop element on the same position");
+
+ });
+
+}); \ No newline at end of file