});\r
\r
test("cssNamespace", function() {\r
- ok(false, "missing test");\r
+ //cssNamespace should be appended with '-droppable' and added as className\r
+ el = $("<div></div>").droppable({ cssNamespace: "ui" });\r
+ equals(el[0].className, "ui-droppable");\r
+ el.droppable("destroy");\r
+\r
+ //no className should be added if cssNamepsace is null\r
+ el = $("<div></div>").droppable({ cssNamespace: null });\r
+ equals(el[0].className, "");\r
+ el.droppable("destroy");\r
});\r
\r
test("greedy", function() {\r