Skip to content
Permalink
Browse files

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.
  • Loading branch information
scottgonzalez committed Sep 2, 2010
1 parent de02aa3 commit 2365d03cef512bc7651b3a4796236400112cd2c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/dialog/dialog_options.js
@@ -199,7 +199,7 @@ test("maxHeight", function() {
el.remove();

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");
el.remove();
});

0 comments on commit 2365d03

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