Widget tests: Remove workaround for old QUnit bug.

This commit is contained in:
Scott González 2011-01-24 21:31:12 -05:00
parent 8034cc3803
commit 4a384c63ff

View File

@ -183,7 +183,7 @@ test( "error handling", function() {
$.error = error;
});
test("merge multiple option arguments", function() {
test( "merge multiple option arguments", function() {
expect( 1 );
$.widget( "ui.testWidget", {
_create: function() {
@ -630,8 +630,6 @@ test( "auto-destroy - .remove() on child", function() {
}
});
$( "#widget" ).testWidget().children().remove();
// http://github.com/jquery/qunit/pull/34
$.ui.testWidget.prototype.destroy = $.noop;
});
test( "auto-destroy - .empty()", function() {
@ -642,8 +640,6 @@ test( "auto-destroy - .empty()", function() {
}
});
$( "#widget" ).testWidget().empty();
// http://github.com/jquery/qunit/pull/34
$.ui.testWidget.prototype.destroy = $.noop;
});
test( "auto-destroy - .empty() on parent", function() {