2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
FactoryBot.define do
|
2020-03-09 13:42:32 +05:30
|
|
|
factory :gitaly_commit_author, class: 'Gitaly::CommitAuthor' do
|
2018-03-17 18:26:18 +05:30
|
|
|
skip_create
|
|
|
|
|
|
|
|
name { generate(:name) }
|
|
|
|
email { generate(:email) }
|
|
|
|
date { Google::Protobuf::Timestamp.new(seconds: Time.now.to_i) }
|
|
|
|
end
|
|
|
|
end
|