gitlab-org--gitlab-foss/spec/factories/gitaly/commit_author.rb
2017-09-30 00:51:16 -03:00

9 lines
242 B
Ruby

FactoryGirl.define do
factory :gitaly_commit_author, class: Gitaly::CommitAuthor do
skip_create
name { generate(:name) }
email { generate(:email) }
date { Google::Protobuf::Timestamp.new(seconds: Time.now.to_i) }
end
end