Welcome to mirror list, hosted at ThFree Co, Russian Federation.

deleted_object.rb « ci « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c91d259ffebb4541b5f56b7b09f7e57d08f09502 (plain)
1
2
3
4
5
6
7
8
9
# 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