diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-29 03:10:00 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-29 03:10:00 +0300 |
commit | 96e582ee80deeb4bd2b4f3a3cf48d1f9260f25aa (patch) | |
tree | ba8776827c9cc789517e6497f7d3e4ecbcad4f0a /spec/features/contextual_sidebar_spec.rb | |
parent | 9a4a8e6be70657c1a30b0c602ea2ba58576257fe (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.rb | 5 |
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) |