aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/tooltip_defaults.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/tooltip/tooltip_defaults.js')
-rw-r--r--tests/unit/tooltip/tooltip_defaults.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unit/tooltip/tooltip_defaults.js b/tests/unit/tooltip/tooltip_defaults.js
new file mode 100644
index 000000000..bcdcd4307
--- /dev/null
+++ b/tests/unit/tooltip/tooltip_defaults.js
@@ -0,0 +1,16 @@
+/*
+ * tooltip_defaults.js
+ */
+
+var tooltip_defaults = {
+ disabled: false,
+ content: $.ui.tooltip.prototype.options.content,
+ tooltipClass: "ui-widget-content",
+ position: {
+ my: "left center",
+ at: "right center",
+ offset: "15 0"
+ }
+};
+
+commonWidgetTests('tooltip', { defaults: tooltip_defaults });