aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-21 16:27:04 +0200
committerJörn Zaefferer <joern.zaefferer@gmail.com>2012-05-21 16:27:04 +0200
commit9de4da9d107767ad51315328bb73c7b20afd2994 (patch)
treeb8ef517ea31eb8b575dfb10f3d715c39e9a8608a /tests
parent24b7ff1f177fae920750de1ae0272164cd6a1094 (diff)
downloadjquery-ui-9de4da9d107767ad51315328bb73c7b20afd2994.tar.gz
jquery-ui-9de4da9d107767ad51315328bb73c7b20afd2994.zip
Menu: Extend test for destroy method
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/menu/menu_methods.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js
index 6ad7bc134..fc4fce4f1 100644
--- a/tests/unit/menu/menu_methods.js
+++ b/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");
+ });
});