From d9afa9a36fcc2e0a439765617687f133c1252473 Mon Sep 17 00:00:00 2001 From: Marius Olbertz Date: Mon, 3 Oct 2016 19:48:07 +0200 Subject: [PATCH] Removed test for adding of classes as this is not intended. Based on feedback in #9222. --- test/javascript/components/tabs.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/test/javascript/components/tabs.js b/test/javascript/components/tabs.js index 47b1a5fbe..e91c44cad 100644 --- a/test/javascript/components/tabs.js +++ b/test/javascript/components/tabs.js @@ -60,22 +60,6 @@ describe('Tabs', function() { // Tab list items $html.find('[href="#panel1"]').parent().should.have.attr('role', 'presentation'); }); - - // TODO: Check if classes should be applied by the Plugin or not. - - // it('uses linkClass option as class for links', function() { - // $html = $(template).appendTo('body'); - // plugin = new Foundation.Tabs($html.find('[data-tabs]'), {linkClass: 'LINK_CLASS'}); - - // $html.find('[href="#panel1"]').should.have.class('LINK_CLASS'); - // }); - - // it('uses panelClass option as class for links', function() { - // $html = $(template).appendTo('body'); - // plugin = new Foundation.Tabs($html.find('[data-tabs]'), {linkClass: 'PANEL_CLASS'}); - - // $html.find('#panel1').should.have.class('PANEL_CLASS'); - // }); }); describe('selectTab()', function() { -- 2.47.2