aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-09-17 10:18:43 -0400
committerScott González <scott.gonzalez@gmail.com>2013-10-24 09:19:42 -0400
commitecd4f95a50349d3f8488cef5cf9501d9b94a6108 (patch)
tree0f88db0d61d307b0772b0133279f8b1ffbcd4526 /tests/unit/tabs
parent604e0949e33ac53d07c707d1cd6934a73cc6e44b (diff)
downloadjquery-ui-ecd4f95a50349d3f8488cef5cf9501d9b94a6108.tar.gz
jquery-ui-ecd4f95a50349d3f8488cef5cf9501d9b94a6108.zip
Tabs: Use .uniqueId() for panels and moved isLocal() into the widget prototype.
Diffstat (limited to 'tests/unit/tabs')
-rw-r--r--tests/unit/tabs/tabs_core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/tabs/tabs_core.js b/tests/unit/tabs/tabs_core.js
index cc4f0460c..945dfb1e4 100644
--- a/tests/unit/tabs/tabs_core.js
+++ b/tests/unit/tabs/tabs_core.js
@@ -67,7 +67,7 @@ test( "aria-controls", function() {
tabs = element.find( ".ui-tabs-nav li" );
equal( tabs.eq( 0 ).attr( "aria-controls" ), "colon:test" );
equal( tabs.eq( 1 ).attr( "aria-controls" ), "inline-style" );
- ok( /^ui-tabs-\d+$/.test( tabs.eq( 2 ).attr( "aria-controls" ) ), "generated id" );
+ ok( /^ui-id-\d+$/.test( tabs.eq( 2 ).attr( "aria-controls" ) ), "generated id" );
equal( tabs.eq( 3 ).attr( "aria-controls" ), "custom-id" );
});