Skip to content
Permalink
Browse files

Menu tests: Proper detection for absence of ui-state-disabled class.

  • Loading branch information
scottgonzalez committed Jul 10, 2012
1 parent 51c0878 commit 70c5cce84e2003adb1e54526467808bc7c7b199c
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/menu/menu_options.js
@@ -18,7 +18,7 @@ test( "{ disabled: true }", function() {
log();
}
});
ok( element.is( ".ui-state-disabled" ), "Missing ui-state-disabled class" );
ok( element.hasClass( "ui-state-disabled" ), "Missing ui-state-disabled class" );
log( "click", true );
click( element, "1" );
log( "afterclick" );
@@ -33,7 +33,7 @@ test( "{ disabled: false }", function() {
log();
}
});
ok( element.not( ".ui-state-disabled" ), "Has ui-state-disabled class" );
ok( !element.hasClass( "ui-state-disabled" ), "Has ui-state-disabled class" );
log( "click", true );
click( element, "1" );
log( "afterclick" );

0 comments on commit 70c5cce

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