diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-02-28 15:56:32 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-02-29 18:36:40 +0100 |
commit | 72023dd045a7fead5a3136ec2400ad4743a190d2 (patch) | |
tree | 4999a287a815e6a4200498a2a0241abc349fe599 /tests/unit/menu/menu_methods.js | |
parent | e6b7486abf2e0f98837e76027084fad6fe908cff (diff) | |
download | jquery-ui-72023dd045a7fead5a3136ec2400ad4743a190d2.tar.gz jquery-ui-72023dd045a7fead5a3136ec2400ad4743a190d2.zip |
Update to QUnit 1.3. Replace usage of same with deepEqual and equals with equal.
Diffstat (limited to 'tests/unit/menu/menu_methods.js')
-rw-r--r-- | tests/unit/menu/menu_methods.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js index 3bcab3361..200ea4427 100644 --- a/tests/unit/menu/menu_methods.js +++ b/tests/unit/menu/menu_methods.js @@ -22,17 +22,17 @@ test( "enable/disable", function() { menu_log("click"); menu_click(menu,"1"); menu_log("afterclick"); - equals( $("#log").html(), "afterclick,1,click,afterclick,click,", "Click order not valid."); + equal( $("#log").html(), "afterclick,1,click,afterclick,click,", "Click order not valid."); }); test( "refresh", function() { expect( 3 ); var menu = $( "#menu1" ).menu(); - equals(menu.find(".ui-menu-item").length,5,"Incorrect number of menu items"); + equal(menu.find(".ui-menu-item").length,5,"Incorrect number of menu items"); menu.append("<li><a href='#'>test item</a></li>").menu("refresh"); - equals(menu.find(".ui-menu-item").length,6,"Incorrect number of menu items"); + equal(menu.find(".ui-menu-item").length,6,"Incorrect number of menu items"); menu.find(".ui-menu-item:last").remove().end().menu("refresh"); - equals(menu.find(".ui-menu-item").length,5,"Incorrect number of menu items"); + equal(menu.find(".ui-menu-item").length,5,"Incorrect number of menu items"); }); test("destroy", function() { |