aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-12-24 01:25:30 +0000
committerRichard Worth <rdworth@gmail.com>2009-12-24 01:25:30 +0000
commit50cbf9f60ee97dc716355c343eaf69846dd404c6 (patch)
treea59cfeee5231dd3199a877c36f020d6052253ea7 /tests/unit/tabs
parentb836174835b7e46041cb32309aa00d91098c915b (diff)
downloadjquery-ui-50cbf9f60ee97dc716355c343eaf69846dd404c6.tar.gz
jquery-ui-50cbf9f60ee97dc716355c343eaf69846dd404c6.zip
updated unit test for #4031 - Tabs: Remove deselectable option
Diffstat (limited to 'tests/unit/tabs')
-rw-r--r--tests/unit/tabs/tabs_options.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/unit/tabs/tabs_options.js b/tests/unit/tabs/tabs_options.js
index 0b79f87ef..a23a1cca8 100644
--- a/tests/unit/tabs/tabs_options.js
+++ b/tests/unit/tabs/tabs_options.js
@@ -63,22 +63,6 @@ test('cookie', function() {
});
-// deprecated... shadows collapsible
-test('deselectable (deprecated)', function() {
- expect(4);
-
- el = $('#tabs1');
-
- el.tabs({ deselectable: true });
- equals(el.tabs('option', 'collapsible'), true, 'option set');
- ok(el.is('.ui-tabs-collapsible'), 'extra class "ui-tabs-collapsible" attached');
- el.tabs('select', 0);
- equals($('div.ui-tabs-hide', '#tabs1').length, 3, 'all panels should be hidden');
- el.tabs('option', 'deselectable', false);
- ok(el.is(':not(.ui-tabs-collapsible)'), 'extra class "ui-tabs-collapsible" not attached');
-
-});
-
test('disabled', function() {
ok(false, "missing test - untested code is broken code.");
});