diff options
Diffstat (limited to 'spec/lib/sidebars')
-rw-r--r-- | spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb | 8 | ||||
-rw-r--r-- | spec/lib/sidebars/groups/menus/settings_menu_spec.rb | 12 |
2 files changed, 0 insertions, 20 deletions
diff --git a/spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb b/spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb index 1ba89af1b02..246df2e409b 100644 --- a/spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb +++ b/spec/lib/sidebars/groups/menus/ci_cd_menu_spec.rb @@ -22,14 +22,6 @@ RSpec.describe Sidebars::Groups::Menus::CiCdMenu do specify { is_expected.not_to be_nil } - describe 'when feature flag :runner_list_group_view_vue_ui is disabled' do - before do - stub_feature_flags(runner_list_group_view_vue_ui: false) - end - - specify { is_expected.to be_nil } - end - describe 'when the user does not have access' do let(:user) { nil } diff --git a/spec/lib/sidebars/groups/menus/settings_menu_spec.rb b/spec/lib/sidebars/groups/menus/settings_menu_spec.rb index 71b696516b6..252da8ea699 100644 --- a/spec/lib/sidebars/groups/menus/settings_menu_spec.rb +++ b/spec/lib/sidebars/groups/menus/settings_menu_spec.rb @@ -72,18 +72,6 @@ RSpec.describe Sidebars::Groups::Menus::SettingsMenu do let(:item_id) { :ci_cd } it_behaves_like 'access rights checks' - - describe 'when runner list group view is disabled' do - before do - stub_feature_flags(runner_list_group_view_vue_ui: false) - end - - it_behaves_like 'access rights checks' - - it 'has group runners as active_routes' do - expect(subject.active_routes[:path]).to match_array %w[ci_cd#show groups/runners#show groups/runners#edit] - end - end end describe 'Applications menu' do |