aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/droppable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-02-02 13:23:51 +0000
committerRichard Worth <rdworth@gmail.com>2009-02-02 13:23:51 +0000
commit7ed45e68de02df14b72d536aa719a442ed116dfa (patch)
tree109fb4a1253a76bc23f4bab8d5a85a24810f4db4 /tests/unit/droppable
parent4ad531044e6da304f72e80a63db66fcf8b13d8e5 (diff)
downloadjquery-ui-7ed45e68de02df14b72d536aa719a442ed116dfa.tar.gz
jquery-ui-7ed45e68de02df14b72d536aa719a442ed116dfa.zip
unit tests: minor updates
Diffstat (limited to 'tests/unit/droppable')
-rw-r--r--tests/unit/droppable/droppable_defaults.js2
-rw-r--r--tests/unit/droppable/droppable_options.js12
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');
});