diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-09-02 08:41:28 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-09-02 08:41:28 -0400 |
commit | 2365d03cef512bc7651b3a4796236400112cd2c2 (patch) | |
tree | 39c3bc4ea138fcac9715a5c74c86275afcfcf157 /tests/unit | |
parent | de02aa34a80eec32ad19e0c83ac88073ee551483 (diff) | |
download | jquery-ui-2365d03cef512bc7651b3a4796236400112cd2c2.tar.gz jquery-ui-2365d03cef512bc7651b3a4796236400112cd2c2.zip |
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.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/dialog/dialog_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index 2d0cbe907..277b8f39f 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/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(); }); |