Commit 3a010ebb authored by Paul Slaughter's avatar Paul Slaughter Committed by Chad Woolley

Add combined_menu feature flag stubs

- There are no "combined_menu: true" specs
  because the feature has not been developed
parent 56430fb9
......@@ -7,6 +7,8 @@ RSpec.describe 'Operations dropdown navbar EE' do
let(:project) { create(:project) }
before do
stub_feature_flags(combined_menu: false)
project.add_maintainer(user)
sign_in(user)
......
......@@ -9,6 +9,8 @@ RSpec.describe 'Admin Mode Logout', :js do
let(:user) { create(:admin) }
before do
stub_feature_flags(combined_menu: false)
gitlab_sign_in(user)
gitlab_enable_admin_mode_sign_in(user)
visit admin_root_path
......
......@@ -9,6 +9,8 @@ RSpec.describe 'Admin mode' do
let(:admin) { create(:admin) }
before do
stub_feature_flags(combined_menu: false)
stub_env('IN_MEMORY_APPLICATION_SETTINGS', 'false')
end
......
......@@ -4,6 +4,8 @@ require 'spec_helper'
RSpec.describe 'Dashboard Active Tab', :js do
before do
stub_feature_flags(combined_menu: false)
sign_in(create(:user))
end
......
......@@ -8,6 +8,8 @@ RSpec.describe 'The group dashboard' do
let(:user) { create(:user) }
before do
stub_feature_flags(combined_menu: false)
sign_in user
end
......
......@@ -3,6 +3,10 @@
require 'spec_helper'
RSpec.describe 'Dashboard shortcuts', :js do
before do
stub_feature_flags(combined_menu: false)
end
context 'logged in' do
let(:user) { create(:user) }
let(:project) { create(:project) }
......
......@@ -6,6 +6,8 @@ RSpec.describe 'Frequently visited items', :js do
let_it_be(:user) { create(:user) }
before do
stub_feature_flags(combined_menu: false)
sign_in(user)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment