diff options
Diffstat (limited to 'spec/factories/dependency_proxy.rb')
-rw-r--r-- | spec/factories/dependency_proxy.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/dependency_proxy.rb b/spec/factories/dependency_proxy.rb new file mode 100644 index 00000000000..5d763392a99 --- /dev/null +++ b/spec/factories/dependency_proxy.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :dependency_proxy_blob, class: 'DependencyProxy::Blob' do + group + file { fixture_file_upload('spec/fixtures/dependency_proxy/a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz') } + file_name { 'a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.gz' } + end +end |