debian-mirror-gitlab/spec/factories/projects/data_transfers.rb

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

14 lines
358 B
Ruby
Raw Permalink Normal View History

2023-04-23 21:23:45 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :project_data_transfer, class: 'Projects::DataTransfer' do
project factory: :project
namespace { project.root_namespace }
date { Time.current.utc.beginning_of_month }
2023-06-20 00:43:36 +05:30
repository_egress { 1 }
artifacts_egress { 2 }
packages_egress { 3 }
registry_egress { 4 }
2023-04-23 21:23:45 +05:30
end
end