jquery-ui/tests/unit/button/button_methods.js

16 lines
273 B
JavaScript
Raw Normal View History

2010-01-20 14:00:14 +00:00
/*
* button_methods.js
*/
(function($) {
module("button: methods");
test("destroy", function() {
var beforeHtml = $("#button").parent().html();
var afterHtml = $("#button").button().button("destroy").parent().html();
same( beforeHtml, afterHtml );
});
})(jQuery);