aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-09-02 08:41:28 -0400
committerScott González <scott.gonzalez@gmail.com>2010-09-02 08:41:28 -0400
commit2365d03cef512bc7651b3a4796236400112cd2c2 (patch)
tree39c3bc4ea138fcac9715a5c74c86275afcfcf157 /tests/unit
parentde02aa34a80eec32ad19e0c83ac88073ee551483 (diff)
downloadjquery-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.js2
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();
});