diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 14:04:30 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-04-25 14:04:30 -0400 |
commit | 325ee6e87133dd2a507c820dd3c356e3b897a3ec (patch) | |
tree | c13ef9ce107caf181f300cb0ab2a6d5214aada87 /tests/unit/dialog/dialog_options.js | |
parent | c4c36e557ef2b3450bc365708064f7314bc6fdc4 (diff) | |
download | jquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.tar.gz jquery-ui-325ee6e87133dd2a507c820dd3c356e3b897a3ec.zip |
Widget: define a null default for the create callback.
Diffstat (limited to 'tests/unit/dialog/dialog_options.js')
-rw-r--r-- | tests/unit/dialog/dialog_options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/dialog/dialog_options.js b/tests/unit/dialog/dialog_options.js index fb8dea775..5705da079 100644 --- a/tests/unit/dialog/dialog_options.js +++ b/tests/unit/dialog/dialog_options.js @@ -180,7 +180,7 @@ test("height", function() { expect(3); el = $('<div></div>').dialog(); - equals(dlg().height(), dialog_defaults.minHeight, "default height"); + equals(dlg().height(), 150, "default height"); el.remove(); el = $('<div></div>').dialog({ height: 237 }); @@ -431,7 +431,7 @@ test("width", function() { expect(3); el = $('<div></div>').dialog(); - equals(dlg().width(), dialog_defaults.width, "default width"); + equals(dlg().width(), 300, "default width"); el.remove(); el = $('<div></div>').dialog({width: 437 }); |