diff options
author | gnarf <gnarf@gnarf.net> | 2011-05-04 01:38:41 -0500 |
---|---|---|
committer | gnarf <gnarf@gnarf.net> | 2011-05-04 01:38:41 -0500 |
commit | d61e0656c59761cf9729d2aacbc16d74e576a440 (patch) | |
tree | 436fa7641aa06435fcbf49b3f3d88caf849a99f6 /tests/unit/tooltip/tooltip_methods.js | |
parent | c5c65dbac60463d04a6c34a3c0e3e9ce5a846a43 (diff) | |
parent | f5ee22c74a2e0e48b686a94838e12cbb9b45c99c (diff) | |
download | jquery-ui-d61e0656c59761cf9729d2aacbc16d74e576a440.tar.gz jquery-ui-d61e0656c59761cf9729d2aacbc16d74e576a440.zip |
Merge branch 'master' into effects-unit
Diffstat (limited to 'tests/unit/tooltip/tooltip_methods.js')
-rw-r--r-- | tests/unit/tooltip/tooltip_methods.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/tooltip/tooltip_methods.js b/tests/unit/tooltip/tooltip_methods.js index ace1a1288..496a5fdb7 100644 --- a/tests/unit/tooltip/tooltip_methods.js +++ b/tests/unit/tooltip/tooltip_methods.js @@ -14,17 +14,20 @@ test("destroy", function() { test("open", function() { var e = $("#tooltipped1").tooltip(); - ok( $(".ui-tooltip").is(":hidden") ); e.tooltip("open"); ok( $(".ui-tooltip").is(":visible") ); $(":ui-tooltip").tooltip("destroy"); }); +/* +TODO currently tooltip doesn't override widget +can't return anything useful if no element is kept around and there's no useful reference test("widget", function() { var tooltip = $("#tooltipped1").tooltip(); same(tooltip.tooltip("widget")[0], $(".ui-tooltip")[0]); same(tooltip.tooltip("widget").end()[0], tooltip[0]); }); +*/ })(jQuery); |