Skip to content
Permalink
Browse files

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

  • Loading branch information
rdworth committed Feb 2, 2009
1 parent bff0f70 commit a5f6558a1d784b25c6563e85c673ee5dcf2b810d
Showing with 2 additions and 6 deletions.
  1. +1 −5 tests/unit/draggable/draggable_core.js
  2. +1 −1 tests/unit/draggable/draggable_options.js
@@ -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) {
@@ -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() {

0 comments on commit a5f6558

Please sign in to comment.
You can’t perform that action at this time.