aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-04-11 10:08:32 -0400
committerScott González <scott.gonzalez@gmail.com>2011-04-11 10:08:32 -0400
commitccac8cd4920f7d79d046fb34589d0dbb48d31551 (patch)
tree29a0fb0563d4c9845263d8abb2dc09fca084815f /tests
parent08b6a2b5189f62c62a0ee725629087b445f308d7 (diff)
downloadjquery-ui-ccac8cd4920f7d79d046fb34589d0dbb48d31551.tar.gz
jquery-ui-ccac8cd4920f7d79d046fb34589d0dbb48d31551.zip
Tabs: Updated references to .ui-tabs-selected to use .ui-tabs-active.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/tabs/tabs_deprecated.js2
-rw-r--r--tests/unit/tabs/tabs_options.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js
index c3116989e..c221868fc 100644
--- a/tests/unit/tabs/tabs_deprecated.js
+++ b/tests/unit/tabs/tabs_deprecated.js
@@ -130,7 +130,7 @@ test('selected', function() {
el.tabs('destroy');
el = $('#tabs1').tabs({ selected: -1 });
equals(el.tabs('option', 'selected'), -1, 'should be -1 for all tabs unselected');
- equals( $('li.ui-tabs-selected', el).length, 0, 'no tab should be selected' );
+ equals( $('li.ui-tabs-active', el).length, 0, 'no tab should be selected' );
equals( $('div:hidden', '#tabs1').length, 3, 'all panels should be hidden' );
el.tabs('destroy');
diff --git a/tests/unit/tabs/tabs_options.js b/tests/unit/tabs/tabs_options.js
index 49c77521e..ce556fc3e 100644
--- a/tests/unit/tabs/tabs_options.js
+++ b/tests/unit/tabs/tabs_options.js
@@ -55,7 +55,7 @@ test('active', function() {
el.tabs('destroy');
el.tabs({ active: false });
equals(el.tabs('option', 'active'), false, 'should be false for all tabs deactive');
- equals( $('li.ui-tabs-selected', el).length, 0, 'no tab should be active' );
+ equals( $('li.ui-tabs-active', el).length, 0, 'no tab should be active' );
equals( $('div:hidden', '#tabs1').length, 3, 'all panels should be hidden' );
el.tabs('destroy');