summaryrefslogtreecommitdiff
path: root/spec/factories/gitaly/commit_author.rb
blob: 51dcd8a623b768ae5f11177305856196331598c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

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