draggable unit tests: typo in 'addClasses: false' test

This commit is contained in:
Richard Worth 2009-02-02 07:12:37 +00:00
parent bff0f70e2c
commit a5f6558a1d
2 changed files with 2 additions and 6 deletions

View File

@ -1,11 +1,7 @@
/*
* draggable unit tests
* draggable_core.js
*/
//
// Draggable Test Helper Functions
//
var el, offsetBefore, offsetAfter, dragged;
var drag = function(handle, dx, dy) {

View File

@ -32,7 +32,7 @@ test("{ addClasses: true }, default", function() {
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() {