diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-12 16:12:05 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-04-12 16:12:05 +0200 |
commit | ad6b4624b0d401568556eb7a8494e5321c43b75f (patch) | |
tree | b3764eae8de65b1100605ef2be1c6f67b2cefea9 /tests/unit | |
parent | 37970c3685bfdfd0339f0b7dffed737dc9be41b9 (diff) | |
download | jquery-ui-ad6b4624b0d401568556eb7a8494e5321c43b75f.tar.gz jquery-ui-ad6b4624b0d401568556eb7a8494e5321c43b75f.zip |
Accordion unit tests: Cleaned and fixed resize-method test, using #navigation avoids the :visible matching display:none issue in IE8
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/accordion/accordion_methods.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js index 894d1f30c..f2ed8dadf 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').parent().height(300).end().accordion({ + var expected = $('#navigation').parent().height(300).end().accordion({ fillSpace: true }); @@ -122,14 +122,6 @@ test("resize", function() { expected.find(".ui-accordion-content").each(function() { sizes.push($(this).outerHeight()); }); - - var actual = expected.accordion('resize'); - equals(actual, expected, 'resize is chainable'); - - var sizes2 = []; - expected.find(".ui-accordion-content").each(function() { - sizes2.push($(this).outerHeight()); - }); same(sizes, [246, 246, 246]); expected.parent().height(500); |