diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-06-13 10:54:47 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-06-13 10:54:47 -0400 |
commit | ba9bd20c0d5a6ede11a536da9024bb1a582d131f (patch) | |
tree | 42d32c4ea9350b2ed16dc77238a1a1be799a957f /tests/unit/accordion/accordion.html | |
parent | 3e0d3c9225913db2f5aa8cd48ff29efa95f1feab (diff) | |
download | jquery-ui-ba9bd20c0d5a6ede11a536da9024bb1a582d131f.tar.gz jquery-ui-ba9bd20c0d5a6ede11a536da9024bb1a582d131f.zip |
Accordion tests: Don't use deprecated assertion methods.
Diffstat (limited to 'tests/unit/accordion/accordion.html')
-rw-r--r-- | tests/unit/accordion/accordion.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index c260ef22f..ef20c057e 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -25,7 +25,7 @@ var actual = accordion.find( ".ui-accordion-content" ).map(function() { return $( this ).css( "display" ) === "none" ? 0 : 1; }).get(); - same( actual, expected ); + deepEqual( actual, expected ); } function equalHeights( accordion, min, max ) { var sizes = []; @@ -34,8 +34,8 @@ }); ok( sizes[ 0 ] >= min && sizes[ 0 ] <= max, "must be within " + min + " and " + max + ", was " + sizes[ 0 ] ); - same( sizes[ 0 ], sizes[ 1 ] ); - same( sizes[ 0 ], sizes[ 2 ] ); + deepEqual( sizes[ 0 ], sizes[ 1 ] ); + deepEqual( sizes[ 0 ], sizes[ 2 ] ); } function accordionSetupTeardown() { var animated = $.ui.accordion.prototype.options.animated; |