summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-12-02 06:09:50 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-12-02 06:09:50 +0000
commitd5e4aa5266e94798f1c4a1a83a77fa0354056f0e (patch)
treeb83f32d31052fb1f5b402298b9a7c06ba4077d5f /spec/factories
parent408af4d5cf3a3893f8431d4d28821c766ab92bec (diff)
downloadgitlab-ce-d5e4aa5266e94798f1c4a1a83a77fa0354056f0e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/dependency_proxy.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/factories/dependency_proxy.rb b/spec/factories/dependency_proxy.rb
index 5d763392a99..16755f67949 100644
--- a/spec/factories/dependency_proxy.rb
+++ b/spec/factories/dependency_proxy.rb
@@ -6,4 +6,11 @@ FactoryBot.define do
file { fixture_file_upload('spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz') }
file_name { 'a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz' }
end
+
+ factory :dependency_proxy_manifest, class: 'DependencyProxy::Manifest' do
+ group
+ file { fixture_file_upload('spec/fixtures/dependency_proxy/manifest') }
+ digest { 'sha256:5ab5a6872b264fe4fd35d63991b9b7d8425f4bc79e7cf4d563c10956581170c9' }
+ file_name { 'manifest' }
+ end
end