From 4a384c63ffa4c4b588b92b2a983a6710bc518284 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 24 Jan 2011 21:31:12 -0500 Subject: [PATCH] Widget tests: Remove workaround for old QUnit bug. --- tests/unit/widget/widget_core.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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() { -- 2.39.5