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.

10 lines
251 B
Ruby
Raw 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 }
end
end