diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-20 21:07:30 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-20 21:07:30 +0000 |
commit | 5d7e5a8902382caaffa616e1b496b684ba72d148 (patch) | |
tree | 30d755b056cdd521071b0b23ce8c5823ad18e355 /spec/factories | |
parent | cc4e1c884cd6b8782fb6a247d840a2d1c7f4603e (diff) | |
download | gitlab-ce-5d7e5a8902382caaffa616e1b496b684ba72d148.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/projects/data_transfers.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/factories/projects/data_transfers.rb b/spec/factories/projects/data_transfers.rb new file mode 100644 index 00000000000..4184f475663 --- /dev/null +++ b/spec/factories/projects/data_transfers.rb @@ -0,0 +1,9 @@ +# 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 |