aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dialog.js')
-rw-r--r--tests/dialog.js26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/dialog.js b/tests/dialog.js
index 438db2e9d..aa91037c7 100644
--- a/tests/dialog.js
+++ b/tests/dialog.js
@@ -8,7 +8,6 @@
var defaults = {
autoOpen: true,
- autoResize: true,
buttons: {},
closeOnEscape: true,
closeText: 'close',
@@ -252,31 +251,6 @@ test("autoOpen", function() {
el.remove();
});
-test("autoResize", function() {
- expect(2);
-
- var actual,
- before,
- expected,
- handle;
-
- el = $('<div>content<br>content<br>content<br>content<br>content</div>').dialog({ autoResize: false });
- expected = { height: el.height() };
- handle = $(".ui-resizable-se", dlg());
- drag(handle, 50, 50);
- actual = { height: el.height() };
- same(actual, expected, '.dialog({ autoResize: false })');
- el.remove();
- el = $('<div>content<br>content<br>content<br>content<br>content</div>').dialog({ autoResize: true });
- before = { width: el.width(), height: el.height() };
- handle = $(".ui-resizable-se", dlg());
- drag(handle, 50, 50);
- expected = { width: before.width + 50, height: before.height + 50 };
- actual = { width: el.width(), height: el.height() };
- same(actual, expected, '.dialog({ autoResize: true })');
- el.remove();
-});
-
test("buttons", function() {
expect(17);