From 50cbf9f60ee97dc716355c343eaf69846dd404c6 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Thu, 24 Dec 2009 01:25:30 +0000 Subject: [PATCH] updated unit test for #4031 - Tabs: Remove deselectable option --- tests/unit/tabs/tabs_options.js | 16 ---------------- 1 file changed, 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."); }); -- 2.39.5