r1960 - trunk/tests/unit/draggable

r1960 - trunk/tests/unit/draggable


Author: rdworth
Date: Sun Feb 1 23:12:37 2009
New Revision: 1960
Modified:
trunk/tests/unit/draggable/draggable_core.js
trunk/tests/unit/draggable/draggable_options.js
Log:
draggable unit tests: typo in 'addClasses: false' test
Modified: trunk/tests/unit/draggable/draggable_core.js
==============================================================================
--- trunk/tests/unit/draggable/draggable_core.js    (original)
+++ trunk/tests/unit/draggable/draggable_core.js    Sun Feb 1 23:12:37 2009
@@ -1,10 +1,6 @@
/*
- * draggable unit tests
+ * draggable_core.js
*/
-
-//
-// Draggable Test Helper Functions
-//
var el, offsetBefore, offsetAfter, dragged;
Modified: trunk/tests/unit/draggable/draggable_options.js
==============================================================================
--- trunk/tests/unit/draggable/draggable_options.js    (original)
+++ trunk/tests/unit/draggable/draggable_options.js    Sun Feb 1 23:12:37 2009
@@ -32,7 +32,7 @@
test("{ addClasses: false }", function() {
    el = $("<div></div>").draggable({ addClasses: false });
-    ok(!el.is(".ui.draggable"), "'ui-draggable' class not added");
+    ok(!el.is(".ui-draggable"), "'ui-draggable' class not added");
});
test("{ appendTo: 'parent' }, default", function() {