Permalink
Browse files

Menu: Extend test for destroy method

  • Loading branch information...
jzaefferer committed May 21, 2012
1 parent 24b7ff1 commit 9de4da9d107767ad51315328bb73c7b20afd2994
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/unit/menu/menu_methods.js
@@ -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");
+ });
});

0 comments on commit 9de4da9

Please sign in to comment.