Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-29 03:10:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-29 03:10:00 +0300
commit96e582ee80deeb4bd2b4f3a3cf48d1f9260f25aa (patch)
treeba8776827c9cc789517e6497f7d3e4ecbcad4f0a /spec/features/contextual_sidebar_spec.rb
parent9a4a8e6be70657c1a30b0c602ea2ba58576257fe (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/contextual_sidebar_spec.rb')
-rw-r--r--spec/features/contextual_sidebar_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/features/contextual_sidebar_spec.rb b/spec/features/contextual_sidebar_spec.rb
index 132c8eb7192..ab322f18240 100644
--- a/spec/features/contextual_sidebar_spec.rb
+++ b/spec/features/contextual_sidebar_spec.rb
@@ -4,9 +4,8 @@ require 'spec_helper'
RSpec.describe 'Contextual sidebar', :js, feature_category: :remote_development do
context 'when context is a project' do
- let_it_be(:project) { create(:project) }
-
- let(:user) { project.first_owner }
+ let_it_be(:user) { create(:user, :no_super_sidebar) }
+ let_it_be(:project) { create(:project, :repository, namespace: user.namespace) }
before do
sign_in(user)