Permalink
Browse files

Fixed collapsible unit test to match last commit e6eaf7c

  • Loading branch information...
1 parent e6eaf7c commit 688b2b45c0292838563ff8ce21be90c62e6e5aa2 @gseguin committed Sep 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/collapsible/collapsible_core.js
@@ -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();
}
]);

0 comments on commit 688b2b4

Please sign in to comment.