Skip to content
Permalink
Browse files

Menu tests: Modify test to check for id's generated by the new unique…

…Id method
  • Loading branch information...
kborchers committed May 30, 2012
1 parent d44f3d0 commit 1f60380413d65920df37fb9dc90a06378a44b6de
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/menu/menu_core.js
@@ -23,7 +23,7 @@ test("accessibility", function () {

item = menu.find( "li:last" );
menu.menu( "focus", $.Event(), item );
equal( menu.attr("aria-activedescendant"), "menu1-4", "aria attribute, generated id");
ok( /ui-id-\d+$/.test( menu.attr( "aria-activedescendant" ) ), "aria attribute, generated id");
});

})(jQuery);

0 comments on commit 1f60380

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