10 lines
308 B
Ruby
10 lines
308 B
Ruby
# frozen_string_literal: true
|
|
|
|
FactoryBot.define do
|
|
factory :ci_secure_file, class: 'Ci::SecureFile' do
|
|
sequence(:name) { |n| "file#{n}" }
|
|
file { fixture_file_upload('spec/fixtures/ci_secure_files/upload-keystore.jks', 'application/octet-stream') }
|
|
checksum { 'foo1234' }
|
|
project
|
|
end
|
|
end
|