Skip to content

Commit

Permalink
draggable unit tests: typo in 'addClasses: false' test
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Feb 2, 2009
1 parent bff0f70 commit a5f6558
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions tests/unit/draggable/draggable_core.js
@@ -1,11 +1,7 @@
/* /*
* draggable unit tests * draggable_core.js
*/ */


//
// Draggable Test Helper Functions
//

var el, offsetBefore, offsetAfter, dragged; var el, offsetBefore, offsetAfter, dragged;


var drag = function(handle, dx, dy) { var drag = function(handle, dx, dy) {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/draggable/draggable_options.js
Expand Up @@ -32,7 +32,7 @@ test("{ addClasses: true }, default", function() {


test("{ addClasses: false }", function() { test("{ addClasses: false }", function() {
el = $("<div></div>").draggable({ addClasses: false }); 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() { test("{ appendTo: 'parent' }, default", function() {
Expand Down

0 comments on commit a5f6558

Please sign in to comment.