aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkborchers <kris.borchers@gmail.com>2012-05-29 20:59:50 -0500
committerkborchers <kris.borchers@gmail.com>2012-05-29 21:13:45 -0500
commit1f60380413d65920df37fb9dc90a06378a44b6de (patch)
tree9f682c1e4984330fb7d7920206b814dca25575b3
parentd44f3d079e1a5976333afe56d104d03ba00a901b (diff)
downloadjquery-ui-1f60380413d65920df37fb9dc90a06378a44b6de.tar.gz
jquery-ui-1f60380413d65920df37fb9dc90a06378a44b6de.zip
Menu tests: Modify test to check for id's generated by the new uniqueId method
-rw-r--r--tests/unit/menu/menu_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/menu/menu_core.js b/tests/unit/menu/menu_core.js
index 68b625687..6dab6addd 100644
--- a/tests/unit/menu/menu_core.js
+++ b/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);