aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/accordion/accordion_methods.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js
index 22b19a75a..894d1f30c 100644
--- a/tests/unit/accordion/accordion_methods.js
+++ b/tests/unit/accordion/accordion_methods.js
@@ -114,7 +114,7 @@ test("activate, jQuery or DOM element", function() {
});
test("resize", function() {
- var expected = $('#list1').accordion({
+ var expected = $('#list1').parent().height(300).end().accordion({
fillSpace: true
});
@@ -130,7 +130,7 @@ test("resize", function() {
expected.find(".ui-accordion-content").each(function() {
sizes2.push($(this).outerHeight());
});
- same(sizes, [38, 38, 38]);
+ same(sizes, [246, 246, 246]);
expected.parent().height(500);
expected.accordion("resize");