Skip to content
Permalink
Browse files

Widget tests: Remove workaround for old QUnit bug.

  • Loading branch information
scottgonzalez committed Jan 25, 2011
1 parent 8034cc3 commit 4a384c63ffa4c4b588b92b2a983a6710bc518284
Showing with 1 addition and 5 deletions.
  1. +1 −5 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() {

0 comments on commit 4a384c6

Please sign in to comment.
You can’t perform that action at this time.