diff options
author | Mike Sherov <mike.sherov@gmail.com> | 2012-10-30 22:19:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-30 22:24:41 -0400 |
commit | 8746042ae10070ecb3c35bd34238e146b6b2e3a5 (patch) | |
tree | 680131d4193b396f7c90156b221cd7180dbd8fff /tests/unit/droppable/droppable_options.js | |
parent | b49e071d39795255e88b13ae172367201484c352 (diff) | |
download | jquery-ui-8746042ae10070ecb3c35bd34238e146b6b2e3a5.tar.gz jquery-ui-8746042ae10070ecb3c35bd34238e146b6b2e3a5.zip |
Dev: Standardized the droppable test suite. Fixed #8753 - Dev: Get droppable test suite to pass
Diffstat (limited to 'tests/unit/droppable/droppable_options.js')
-rw-r--r-- | tests/unit/droppable/droppable_options.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/unit/droppable/droppable_options.js b/tests/unit/droppable/droppable_options.js index 19295778b..db3201e88 100644 --- a/tests/unit/droppable/droppable_options.js +++ b/tests/unit/droppable/droppable_options.js @@ -5,6 +5,7 @@ module("droppable: options"); +/* test("{ accept '*' }, default ", function() { ok(false, 'missing test - untested code is broken code'); }); @@ -20,19 +21,21 @@ test("{ accept: function(draggable) }", function() { test("activeClass", function() { ok(false, 'missing test - untested code is broken code'); }); - +*/ test("{ addClasses: true }, default", function() { + expect( 1 ); el = $("<div></div>").droppable({ addClasses: true }); ok(el.is(".ui-droppable"), "'ui-droppable' class added"); el.droppable("destroy"); }); test("{ addClasses: false }", function() { + expect( 1 ); el = $("<div></div>").droppable({ addClasses: false }); ok(!el.is(".ui-droppable"), "'ui-droppable' class not added"); el.droppable("destroy"); }); - +/* test("greedy", function() { ok(false, 'missing test - untested code is broken code'); }); @@ -60,5 +63,5 @@ test("tolerance, pointer", function() { test("tolerance, touch", function() { ok(false, 'missing test - untested code is broken code'); }); - +*/ })(jQuery); |