summaryrefslogtreecommitdiff
path: root/spec/factories/projects/data_transfers.rb
blob: 3c335c876e42c9a5fb6f37fe59c7025630fc424a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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