debian-mirror-gitlab/spec/factories/ci/secure_files.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
308 B
Ruby
Raw Normal View History

2022-03-02 08:16:31 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :ci_secure_file, class: 'Ci::SecureFile' do
2022-07-16 23:28:13 +05:30
sequence(:name) { |n| "file#{n}" }
2022-03-02 08:16:31 +05:30
file { fixture_file_upload('spec/fixtures/ci_secure_files/upload-keystore.jks', 'application/octet-stream') }
checksum { 'foo1234' }
project
end
end