aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/draggable/draggable_core.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/draggable/draggable_core.js')
-rw-r--r--tests/unit/draggable/draggable_core.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/unit/draggable/draggable_core.js b/tests/unit/draggable/draggable_core.js
index a01de408f..803c1b580 100644
--- a/tests/unit/draggable/draggable_core.js
+++ b/tests/unit/draggable/draggable_core.js
@@ -34,34 +34,4 @@ function restoreScroll(what) {
module("draggable");
-test("element types", function() {
- var typeNames = ('p,h1,h2,h3,h4,h5,h6,blockquote,ol,ul,dl,div,form'
- + ',table,fieldset,address,ins,del,em,strong,q,cite,dfn,abbr'
- + ',acronym,code,samp,kbd,var,img,object,hr'
- + ',input,button,label,select,iframe').split(',');
-
- $.each(typeNames, function(i) {
- var typeName = typeNames[i];
- el = $(document.createElement(typeName)).appendTo('body');
- (typeName == 'table' && el.append("<tr><td>content</td></tr>"));
- el.draggable({ cancel: '' });
- drag(el, 50, 50);
- moved(50, 50, "&lt;" + typeName + "&gt;");
- el.draggable("destroy");
- el.remove();
- });
-});
-
-test("No options, relative", function() {
- el = $("#draggable1").draggable();
- drag(el, 50, 50);
- moved(50, 50);
-});
-
-test("No options, absolute", function() {
- el = $("#draggable2").draggable();
- drag(el, 50, 50);
- moved(50, 50);
-});
-
})(jQuery);