debian-mirror-gitlab/spec/factories/ci/deleted_object.rb
2021-01-03 14:25:43 +05:30

9 lines
299 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :ci_deleted_object, class: 'Ci::DeletedObject' do
pick_up_at { Time.current }
store_dir { SecureRandom.uuid }
file { fixture_file_upload(Rails.root.join('spec/fixtures/ci_build_artifacts.zip'), 'application/zip') }
end
end