diff options
author | Felix Nagel <info@felixnagel.com> | 2012-07-12 23:57:55 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2012-07-12 23:57:55 +0200 |
commit | 5092d0296a010280ee9d004f2fe06afbf1c45db5 (patch) | |
tree | ac6b97b4551b4aebf8d90cc35add82fc7088e0a3 /tests/unit/tooltip/tooltip_options.js | |
parent | 39532f0a8e70e21e33aab03f08136f662d03a4a1 (diff) | |
parent | e054e28836e616ed03561d5a8195bbea525866d1 (diff) | |
download | jquery-ui-5092d0296a010280ee9d004f2fe06afbf1c45db5.tar.gz jquery-ui-5092d0296a010280ee9d004f2fe06afbf1c45db5.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'tests/unit/tooltip/tooltip_options.js')
-rw-r--r-- | tests/unit/tooltip/tooltip_options.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/tooltip/tooltip_options.js b/tests/unit/tooltip/tooltip_options.js index a4ef9f472..771da6da7 100644 --- a/tests/unit/tooltip/tooltip_options.js +++ b/tests/unit/tooltip/tooltip_options.js @@ -3,11 +3,13 @@ module( "tooltip: options" ); test( "content: default", function() { + expect( 1 ); var element = $( "#tooltipped1" ).tooltip().tooltip( "open" ); deepEqual( $( "#" + element.data( "ui-tooltip-id" ) ).text(), "anchortitle" ); }); test( "content: return string", function() { + expect( 1 ); var element = $( "#tooltipped1" ).tooltip({ content: function() { return "customstring"; @@ -17,6 +19,7 @@ test( "content: return string", function() { }); test( "content: return jQuery", function() { + expect( 1 ); var element = $( "#tooltipped1" ).tooltip({ content: function() { return $( "<div>" ).html( "cu<b>s</b>tomstring" ); |