aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/autocomplete/autocomplete_common.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
commit0f575e03bb9af0b09d18a9207d9f589e05f44d50 (patch)
tree18251a2d3e7c51adb8f265158ca0361f5cca73d1 /tests/unit/autocomplete/autocomplete_common.js
parentaf1576280a807dcc166ddf619abab1fc24cac664 (diff)
parent9df981d268b4029065247cf230a4e988946b7799 (diff)
downloadjquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.tar.gz
jquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.zip
Merge branch 'master' into position-notification
Conflicts: tests/unit/position/position_core_within.js
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_common.js')
-rw-r--r--tests/unit/autocomplete/autocomplete_common.js25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/unit/autocomplete/autocomplete_common.js b/tests/unit/autocomplete/autocomplete_common.js
new file mode 100644
index 000000000..c090ce4df
--- /dev/null
+++ b/tests/unit/autocomplete/autocomplete_common.js
@@ -0,0 +1,25 @@
+TestHelpers.commonWidgetTests( "autocomplete", {
+ defaults: {
+ appendTo: "body",
+ autoFocus: false,
+ delay: 300,
+ disabled: false,
+ minLength: 1,
+ position: {
+ my: "left top",
+ at: "left bottom",
+ collision: "none"
+ },
+ source: null,
+
+ // callbacks
+ change: null,
+ close: null,
+ create: null,
+ focus: null,
+ open: null,
+ response: null,
+ search: null,
+ select: null
+ }
+});