diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-02 21:15:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-02 21:15:35 +0300 |
commit | 05cde74f482201ed19d89c3c01ebf9b5d26cd4fd (patch) | |
tree | 50f38dd0ec609132b69f59bb5ec95f337193f32a /spec/helpers/tab_helper_spec.rb | |
parent | 65c71039ebe065a6c97e226f5743bd637680a14e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/tab_helper_spec.rb')
-rw-r--r-- | spec/helpers/tab_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/tab_helper_spec.rb b/spec/helpers/tab_helper_spec.rb index f338eddedfd..dd5707e2aff 100644 --- a/spec/helpers/tab_helper_spec.rb +++ b/spec/helpers/tab_helper_spec.rb @@ -45,7 +45,7 @@ RSpec.describe TabHelper do end it 'creates an active tab with item_active = true' do - expect(helper.gl_tab_link_to('Link', '/url', { item_active: true })).to match(/<a class=".*active gl-tab-nav-item-active gl-tab-nav-item-active-indigo.*"/) + expect(helper.gl_tab_link_to('Link', '/url', { item_active: true })).to match(/<a class=".*active gl-tab-nav-item-active.*"/) end context 'when on the active page' do @@ -54,7 +54,7 @@ RSpec.describe TabHelper do end it 'creates an active tab' do - expect(helper.gl_tab_link_to('Link', '/url')).to match(/<a class=".*active gl-tab-nav-item-active gl-tab-nav-item-active-indigo.*"/) + expect(helper.gl_tab_link_to('Link', '/url')).to match(/<a class=".*active gl-tab-nav-item-active.*"/) end it 'creates an inactive tab with item_active = false' do |