Skip to content
Permalink
Browse files

Tests: Fixed erroneous refernece to accordion.

  • Loading branch information
scottgonzalez committed Jan 25, 2011
1 parent 4a384c6 commit 63c72aba0d898289b4cb536cd34fee80c15087d1
Showing with 2 additions and 2 deletions.
  1. +2 −2 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" );
});
}

0 comments on commit 63c72ab

Please sign in to comment.
You can’t perform that action at this time.