diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/droppable/droppable_options.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/tests/unit/droppable/droppable_options.js b/tests/unit/droppable/droppable_options.js index 2df2dcb15..c63429bc5 100644 --- a/tests/unit/droppable/droppable_options.js +++ b/tests/unit/droppable/droppable_options.js @@ -22,22 +22,12 @@ test("{ addClasses: true }, default", function() { el = $("<div></div>").droppable({ addClasses: true }); ok(el.is(".ui-droppable"), "'ui-droppable' class added"); + el.droppable("destroy"); }); test("{ addClasses: false }", function() { el = $("<div></div>").droppable({ addClasses: false }); ok(!el.is(".ui-droppable"), "'ui-droppable' class not added"); -}); - -test("cssNamespace", function() { - //cssNamespace should be appended with '-droppable' and added as className - el = $("<div></div>").droppable({ cssNamespace: "ui" }); - equals(el[0].className, "ui-droppable"); - el.droppable("destroy"); - - //no className should be added if cssNamepsace is null - el = $("<div></div>").droppable({ cssNamespace: null }); - equals(el[0].className, ""); el.droppable("destroy"); }); |