diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-24 06:09:16 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-24 06:09:16 +0000 |
commit | f1d39f5bea74d84c38b4713f66cfcc9fdbcd1c57 (patch) | |
tree | 2c43f91d951a7465535d6e3b328a12e5f93aa1e1 /spec/controllers/root_controller_spec.rb | |
parent | 93b0b77287acb1cf1a6a408b3a4e9587bedc9364 (diff) | |
download | gitlab-ce-f1d39f5bea74d84c38b4713f66cfcc9fdbcd1c57.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/root_controller_spec.rb')
-rw-r--r-- | spec/controllers/root_controller_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/controllers/root_controller_spec.rb b/spec/controllers/root_controller_spec.rb index 49841aa61d7..01ff646274a 100644 --- a/spec/controllers/root_controller_spec.rb +++ b/spec/controllers/root_controller_spec.rb @@ -134,26 +134,6 @@ RSpec.describe RootController do expect(response).to render_template 'dashboard/projects/index' end - - context 'when customize_homepage is enabled' do - it 'renders the default dashboard' do - get :index - - expect(assigns[:customize_homepage]).to be true - end - end - - context 'when customize_homepage is not enabled' do - before do - stub_feature_flags(customize_homepage: false) - end - - it 'renders the default dashboard' do - get :index - - expect(assigns[:customize_homepage]).to be false - end - end end end end |