diff --git a/src/tabs/test/tabs.spec.js b/src/tabs/test/tabs.spec.js index 11476f3518..353b005585 100644 --- a/src/tabs/test/tabs.spec.js +++ b/src/tabs/test/tabs.spec.js @@ -56,6 +56,10 @@ describe('tabs', function() { it('should pass class and other attributes on to tab template', function() { expect(elm).toHaveClass('hello'); expect(elm.attr('data-pizza')).toBe('pepperoni'); + // ensure that we have our bootstrap 4 link prefix so things are future + // proofed. + var link = $(elm.find('a')[0]); + expect(link).toHaveClass('nav-link'); }); it('should create clickable titles', function() { diff --git a/template/tabs/tab.html b/template/tabs/tab.html index 35927bcdd0..329ba84ca8 100644 --- a/template/tabs/tab.html +++ b/template/tabs/tab.html @@ -1,3 +1,3 @@ -