diff options
author | Richard Worth <rdworth@gmail.com> | 2009-12-24 01:25:30 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2009-12-24 01:25:30 +0000 |
commit | 50cbf9f60ee97dc716355c343eaf69846dd404c6 (patch) | |
tree | a59cfeee5231dd3199a877c36f020d6052253ea7 /tests/unit | |
parent | b836174835b7e46041cb32309aa00d91098c915b (diff) | |
download | jquery-ui-50cbf9f60ee97dc716355c343eaf69846dd404c6.tar.gz jquery-ui-50cbf9f60ee97dc716355c343eaf69846dd404c6.zip |
updated unit test for #4031 - Tabs: Remove deselectable option
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/tabs/tabs_options.js | 16 |
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."); }); |