diff options
Diffstat (limited to 'tests/unit/droppable')
-rw-r--r-- | tests/unit/droppable/droppable_defaults.js | 2 | ||||
-rw-r--r-- | tests/unit/droppable/droppable_options.js | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/tests/unit/droppable/droppable_defaults.js b/tests/unit/droppable/droppable_defaults.js index 1c175631b..7584f5ec8 100644 --- a/tests/unit/droppable/droppable_defaults.js +++ b/tests/unit/droppable/droppable_defaults.js @@ -3,9 +3,9 @@ */ var droppable_defaults = { - addClasses: true, accept: '*', activeClass: false, + addClasses: true, disabled: false, greedy: false, hoverClass: false, diff --git a/tests/unit/droppable/droppable_options.js b/tests/unit/droppable/droppable_options.js index c63429bc5..2f2dbf673 100644 --- a/tests/unit/droppable/droppable_options.js +++ b/tests/unit/droppable/droppable_options.js @@ -1,15 +1,21 @@ /* - * droppable_optinos.js + * droppable_options.js */ (function($) { module("droppable: options"); -test("accept, selector", function() { +test("{ accept '*' }, default ", function() { + equals(droppable_defaults.accept, '*'); + + ok(false, 'missing test - untested code is broken code'); +}); + +test("{ accept: Selector }", function() { ok(false, 'missing test - untested code is broken code'); }); -test("accept, fn", function() { +test("{ accept: function(draggable) }", function() { ok(false, 'missing test - untested code is broken code'); }); |