From: Scott González Date: Tue, 25 Jan 2011 03:37:57 +0000 (-0500) Subject: Tests: Fixed erroneous refernece to accordion. X-Git-Tag: 1.9m4~38^2~9 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=63c72aba0d898289b4cb536cd34fee80c15087d1;p=jquery-ui.git Tests: Fixed erroneous refernece to accordion. --- diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js index 23819d0e4..0033182dc 100644 --- a/tests/unit/testsuite.js +++ b/tests/unit/testsuite.js @@ -48,10 +48,10 @@ function testBasicUsage( widget ) { $( defaultElement ).appendTo( "body" )[ widget ]().remove(); ok( true, "initialized on element" ); - $( defaultElement ).accordion().remove(); + $( defaultElement )[ widget ]().remove(); ok( true, "initialized on disconnected DOMElement - never connected" ); - $( defaultElement ).appendTo( "body" ).remove().accordion().remove(); + $( defaultElement ).appendTo( "body" ).remove()[ widget ]().remove(); ok( true, "initialized on disconnected DOMElement - removed" ); }); }