Dialog: Fixed a broken maxHeight test.

The size tests are fragile because they require the browser window to be large enough to contain the dialog.
This commit is contained in:
Scott González 2010-09-02 08:41:28 -04:00
parent de02aa34a8
commit 2365d03cef

View File

@ -199,7 +199,7 @@ test("maxHeight", function() {
el.remove(); el.remove();
el = $('<div></div>').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600); el = $('<div></div>').dialog({ maxHeight: 400 }).dialog('option', 'maxHeight', 600);
drag('.ui-resizable-n', -1000, -1000); drag('.ui-resizable-s', 1000, 1000);
equals(heightAfter, 600, "maxHeight"); equals(heightAfter, 600, "maxHeight");
el.remove(); el.remove();
}); });