diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-20 13:18:24 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-20 13:18:24 +0000 |
commit | 0653e08efd039a5905f3fa4f6e9cef9f5d2f799c (patch) | |
tree | 4dcc884cf6d81db44adae4aa99f8ec1233a41f55 /spec/requests/git_http_spec.rb | |
parent | 744144d28e3e7fddc117924fef88de5d9674fe4c (diff) | |
download | gitlab-ce-0653e08efd039a5905f3fa4f6e9cef9f5d2f799c.tar.gz |
Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42
Diffstat (limited to 'spec/requests/git_http_spec.rb')
-rw-r--r-- | spec/requests/git_http_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/requests/git_http_spec.rb b/spec/requests/git_http_spec.rb index e4a0c034b20..a16f5abf608 100644 --- a/spec/requests/git_http_spec.rb +++ b/spec/requests/git_http_spec.rb @@ -882,6 +882,10 @@ RSpec.describe 'Git HTTP requests' do before do build.update!(user: user) project.add_reporter(user) + create(:ci_job_token_project_scope_link, + source_project: project, + target_project: other_project, + added_by: user) end shared_examples 'can download code only' do @@ -1447,6 +1451,10 @@ RSpec.describe 'Git HTTP requests' do before do build.update!(project: project) # can't associate it on factory create + create(:ci_job_token_project_scope_link, + source_project: project, + target_project: other_project, + added_by: user) end context 'when build created by system is authenticated' do |