jquery-ui/tests/unit/menu/menu_methods.js
jzaefferer 540b78d920 Adding a domEqual assertion to our testsuite for more sane DOM
comparisons. Comparing innerHTML is too dependent on random browser
quirks like IE only sometimes rendering closing tags.
2011-02-25 11:33:48 +01:00

16 lines
191 B
JavaScript

/*
* menu_methods.js
*/
(function($) {
module("menu: methods");
test("destroy", function() {
domEqual("#menu1", function() {
$("#menu1").menu().menu("destroy");
});
});
})(jQuery);