From: Marius Olbertz Date: Mon, 3 Oct 2016 17:48:07 +0000 (+0200) Subject: Removed test for adding of classes as this is not intended. X-Git-Tag: v6.3-rc1~26^2~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9222%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Removed test for adding of classes as this is not intended. Based on feedback in #9222. --- 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() {