From 63c72aba0d898289b4cb536cd34fee80c15087d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Mon, 24 Jan 2011 22:37:57 -0500 Subject: [PATCH] Tests: Fixed erroneous refernece to accordion. --- tests/unit/testsuite.js | 4 ++-- 1 file 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" ); }); } -- 2.39.5