Skip to content

Commit

Permalink
updated unit test for #4031 - Tabs: Remove deselectable option
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Dec 24, 2009
1 parent b836174 commit 50cbf9f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/unit/tabs/tabs_options.js
Expand Up @@ -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.");
});
Expand Down

0 comments on commit 50cbf9f

Please sign in to comment.