From: Scott González Date: Tue, 25 Jan 2011 02:31:12 +0000 (-0500) Subject: Widget tests: Remove workaround for old QUnit bug. X-Git-Tag: 1.9m4~38^2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4a384c63ffa4c4b588b92b2a983a6710bc518284;p=jquery-ui.git Widget tests: Remove workaround for old QUnit bug. --- diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js index 26059b96b..be8a59fb4 100644 --- a/tests/unit/widget/widget_core.js +++ b/tests/unit/widget/widget_core.js @@ -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() {