gitlab-org--gitlab-foss/spec/factories/ci/deleted_object.rb

10 lines
299 B
Ruby
Raw Normal View History

# 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