debian-mirror-gitlab/spec/factories/gitaly/commit_author.rb

10 lines
241 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
FactoryBot.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