debian-mirror-gitlab/spec/factories/projects/data_transfers.rb
2023-06-20 00:43:36 +05:30

13 lines
358 B
Ruby

# 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 }
repository_egress { 1 }
artifacts_egress { 2 }
packages_egress { 3 }
registry_egress { 4 }
end
end