Skip to content

Commit

Permalink
Fixed collapsible unit test to match last commit e6eaf7c
Browse files Browse the repository at this point in the history
  • Loading branch information
gseguin committed Sep 14, 2011
1 parent e6eaf7c commit 688b2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/collapsible/collapsible_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
ok($page.find( ".ui-content >:eq(0) > div" ).hasClass( "ui-collapsible-content" ), ".ui-collapsible-content class added to collapsible content" );
ok($page.find( ".ui-content >:eq(0)" ).hasClass( "ui-collapsible-collapsed" ), ".ui-collapsible-collapsed added to collapsed elements" );
ok(!$page.find( ".ui-content >:eq(1)" ).hasClass( "ui-collapsible-collapsed" ), ".ui-collapsible-collapsed not added to expanded elements" );
ok($page.find( ".ui-collapsible.ui-collapsible-collapsed" ).find( ".ui-collapsible-heading-toggle > .ui-btn-inner" ).hasClass( "ui-corner-all" ), "Collapsible header button should have class ui-corner-all" );
ok($page.find( ".ui-collapsible.ui-collapsible-collapsed" ).find( ".ui-collapsible-heading-toggle > .ui-btn-inner" ).hasClass( "ui-corner-top ui-corner-bottom" ), "Collapsible header button should have class ui-corner-all" );
start();
}
]);
Expand Down

0 comments on commit 688b2b4

Please sign in to comment.