diff options
Diffstat (limited to 'tests/unit/menu/menu_methods.js')
-rw-r--r-- | tests/unit/menu/menu_methods.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js index 063fbf0b7..51d772972 100644 --- a/tests/unit/menu/menu_methods.js +++ b/tests/unit/menu/menu_methods.js @@ -65,7 +65,7 @@ test( "refresh submenu", function() { var element = $( "#menu2" ).menu(); equal( element.find( "ul:first .ui-menu-item" ).length, 3 ); element.find( "ul" ).addBack().append( "<li><a href=\"#\">New Item</a></li>" ); - element.menu("refresh"); + element.menu( "refresh" ); equal( element.find( "ul:first .ui-menu-item" ).length, 4 ); }); @@ -79,7 +79,7 @@ test( "refresh icons (see #9377)", function() { ok( element.hasClass( "ui-menu-icons" ) ); element.find( "li:first a" ).html( "Save" ); element.menu( "refresh" ); - ok( !element.hasClass( "ui-menu-icons") ); + ok( !element.hasClass( "ui-menu-icons" ) ); }); test( "widget", function() { |