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

merge_request_diff_commits.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 55626253e348ae72af6beb0dbafed0731aaa3616 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :merge_request_diff_commit do
    association :merge_request_diff

    sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
    relative_order { 0 }
  end
end