diff options
author | kborchers <kris.borchers@gmail.com> | 2012-06-01 00:03:16 -0500 |
---|---|---|
committer | kborchers <kris.borchers@gmail.com> | 2012-06-01 00:03:16 -0500 |
commit | 2da2ae5070e976c23ea4e19ff705dcba822838d8 (patch) | |
tree | 1c574d0f411e70a643e5577ef583a90fe5b881c3 /tests/unit | |
parent | 6e7ee9860356d203e75086a1ca92864fe1d9f246 (diff) | |
download | jquery-ui-2da2ae5070e976c23ea4e19ff705dcba822838d8.tar.gz jquery-ui-2da2ae5070e976c23ea4e19ff705dcba822838d8.zip |
Menu: Properly remove submenu carat icons and menu dividers during destroy and add a test for this functionality
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/menu/menu_methods.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js index c17986816..3a7b2d8fe 100644 --- a/tests/unit/menu/menu_methods.js +++ b/tests/unit/menu/menu_methods.js @@ -46,6 +46,9 @@ test("destroy", function() { domEqual("#menu1", function() { $("#menu1").menu().menu("destroy"); }); + domEqual("#menu2", function() { + $("#menu2").menu().menu("destroy"); + }); domEqual("#menu5", function() { $("#menu5").menu().menu("destroy"); }); |