2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2020-01-09 13:07:52 -05:00
|
|
|
factory :gitaly_commit_author, class: 'Gitaly::CommitAuthor' do
|
2017-09-20 18:28:57 -04:00
|
|
|
skip_create
|
|
|
|
|
|
|
|
name { generate(:name) }
|
|
|
|
email { generate(:email) }
|
|
|
|
date { Google::Protobuf::Timestamp.new(seconds: Time.now.to_i) }
|
|
|
|
end
|
|
|
|
end
|