diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-01-24 22:37:57 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-01-24 22:37:57 -0500 |
commit | 63c72aba0d898289b4cb536cd34fee80c15087d1 (patch) | |
tree | eb9122b75100aacbc807703197312d6207f89cc3 /tests/unit/testsuite.js | |
parent | 4a384c63ffa4c4b588b92b2a983a6710bc518284 (diff) | |
download | jquery-ui-63c72aba0d898289b4cb536cd34fee80c15087d1.tar.gz jquery-ui-63c72aba0d898289b4cb536cd34fee80c15087d1.zip |
Tests: Fixed erroneous refernece to accordion.
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r-- | tests/unit/testsuite.js | 4 |
1 files changed, 2 insertions, 2 deletions
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" ); }); } |