Skip to content

Commit

Permalink
Tests: Fixed erroneous refernece to accordion.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Jan 25, 2011
1 parent 4a384c6 commit 63c72ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/testsuite.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
});
}
Expand Down

0 comments on commit 63c72ab

Please sign in to comment.