diff options
Diffstat (limited to 'spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb')
-rw-r--r-- | spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb b/spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb index 2ceb9dcada9..6116fff792a 100644 --- a/spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb +++ b/spec/lib/sidebars/projects/menus/ci_cd_menu_spec.rb @@ -50,20 +50,8 @@ RSpec.describe Sidebars::Projects::Menus::CiCdMenu do describe 'Artifacts' do let(:item_id) { :artifacts } - context 'when feature flag :artifacts_management_page is disabled' do - it 'does not include artifacts menu item' do - stub_feature_flags(artifacts_management_page: false) - - is_expected.to be_nil - end - end - - context 'when feature flag :artifacts_management_page is enabled' do - it 'includes artifacts menu item' do - stub_feature_flags(artifacts_management_page: true) - - is_expected.not_to be_nil - end + it 'includes artifacts menu item' do + is_expected.not_to be_nil end end end |