From 5ae668fdb61dd5e516dc599166a31fd46a916bfd Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 27 Jun 2012 11:32:48 -0400 Subject: Tests: Enable QUnit.config.requireExpects. --- tests/unit/dialog/dialog_tickets.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/unit/dialog/dialog_tickets.js') diff --git a/tests/unit/dialog/dialog_tickets.js b/tests/unit/dialog/dialog_tickets.js index 98983cf33..201ea3a87 100644 --- a/tests/unit/dialog/dialog_tickets.js +++ b/tests/unit/dialog/dialog_tickets.js @@ -71,6 +71,7 @@ test("#5184: isOpen in dialogclose event is true", function() { }); test("#5531: dialog width should be at least minWidth on creation", function () { + expect( 4 ); el = $('
').dialog({ width: 200, minWidth: 300 @@ -192,6 +193,7 @@ test("#6966: Escape key closes all dialogs, not the top one", function(){ }); test("#4980: Destroy should place element back in original DOM position", function(){ + expect( 2 ); container = $('
'); modal = container.find('#modal'); modal.dialog(); -- cgit v1.2.3