aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tooltip/common.js
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2015-04-07 10:55:52 -0400
committerScott González <scott.gonzalez@gmail.com>2015-04-09 09:27:00 -0400
commitbde431bb449b1d957d4e0b736111ff342f2a919d (patch)
tree27fd40037c30dbff8ef3b6113e90817ab96b53bf /tests/unit/tooltip/common.js
parentdc4b015a8b9acdb5bff2d5dd89737b3d8b64097f (diff)
downloadjquery-ui-bde431bb449b1d957d4e0b736111ff342f2a919d.tar.gz
jquery-ui-bde431bb449b1d957d4e0b736111ff342f2a919d.zip
Tests: Rename files
Ref gh-1528
Diffstat (limited to 'tests/unit/tooltip/common.js')
-rw-r--r--tests/unit/tooltip/common.js30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/unit/tooltip/common.js b/tests/unit/tooltip/common.js
new file mode 100644
index 000000000..f8045fc33
--- /dev/null
+++ b/tests/unit/tooltip/common.js
@@ -0,0 +1,30 @@
+define( [
+ "lib/common",
+ "ui/tooltip"
+], function( common ) {
+
+common.testWidget( "tooltip", {
+ defaults: {
+ classes: {
+ "ui-tooltip": "ui-corner-all ui-widget-shadow"
+ },
+ content: function() {},
+ disabled: false,
+ hide: true,
+ items: "[title]:not([disabled])",
+ position: {
+ my: "left top+15",
+ at: "left bottom",
+ collision: "flipfit flip"
+ },
+ show: true,
+ track: false,
+
+ // callbacks
+ close: null,
+ create: null,
+ open: null
+ }
+});
+
+} );