diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-28 13:42:47 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-28 13:42:47 -0400 |
commit | 2662edf7393d2fbe594b22f6294e14725847a8e8 (patch) | |
tree | 44b4e86e134906ba78cd3fe72ecea63ffde2c251 /tests | |
parent | 359d0eadd02bae2aad1bf211c83ee4cda4dd39a6 (diff) | |
download | jquery-ui-2662edf7393d2fbe594b22f6294e14725847a8e8.tar.gz jquery-ui-2662edf7393d2fbe594b22f6294e14725847a8e8.zip |
Accordion tests: Check for a specific height in heightStyle: content tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordion_options.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/accordion/accordion_options.js b/tests/unit/accordion/accordion_options.js index cd3370523..2b8222f5c 100644 --- a/tests/unit/accordion/accordion_options.js +++ b/tests/unit/accordion/accordion_options.js @@ -368,9 +368,9 @@ test( "{ heightStyle: 'content' }", function() { sizes = element.find( ".ui-accordion-content" ).map(function() { return $( this ).height(); }).get(); - ok( sizes[ 0 ] >= 70 && sizes[ 0 ] <= 105, "was " + sizes[ 0 ] ); - ok( sizes[ 1 ] >= 98 && sizes[ 1 ] <= 126, "was " + sizes[ 1 ] ); - ok( sizes[ 2 ] >= 42 && sizes[ 2 ] <= 54, "was " + sizes[ 2 ] ); + equal( sizes[ 0 ], 75 ); + equal( sizes[ 1 ], 105 ); + equal( sizes[ 2 ], 45 ); }); test( "{ heightStyle: 'fill' }", function() { |