]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Removed test for adding of classes as this is not intended. 9222/head
authorMarius Olbertz <marius.olbertz@gmail.com>
Mon, 3 Oct 2016 17:48:07 +0000 (19:48 +0200)
committerMarius Olbertz <marius.olbertz@gmail.com>
Mon, 3 Oct 2016 17:48:07 +0000 (19:48 +0200)
Based on feedback in #9222.

test/javascript/components/tabs.js

index 47b1a5fbef9fdcdcfe3d53b5a96e605dc1a14219..e91c44cad2546e6e511147f351ea3511ae7b7fd5 100644 (file)
@@ -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() {