Welcome to mirror list, hosted at ThFree Co, Russian Federation.

commit_author.rb « gitaly « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 341873a2002d6a836ce5ff39da316a2b73530167 (plain)
1
2
3
4
5
6
7
8
9
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