]> source.dussan.org Git - jquery-ui.git/commitdiff
Menu: Extend test for destroy method
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 May 2012 14:27:04 +0000 (16:27 +0200)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Mon, 21 May 2012 14:27:04 +0000 (16:27 +0200)
tests/unit/menu/menu_methods.js

index 6ad7bc13411a4e0cf70156477ec8e88c57f4d01f..fc4fce4f1062baf2be2832245d5e12b748679e4e 100644 (file)
@@ -42,6 +42,12 @@ test("destroy", function() {
        domEqual("#menu1", function() {
                $("#menu1").menu().menu("destroy");
        });
+       domEqual("#menu5", function() {
+               $("#menu5").menu().menu("destroy");
+       });
+       domEqual("#menu6", function() {
+               $("#menu6").menu().menu("destroy");
+       });
 });