gitlab-org--gitlab-foss/spec/factories/merge_request_context_commit.rb

13 lines
322 B
Ruby
Raw Normal View History

# frozen_string_literal: true
FactoryBot.define do
factory :merge_request_context_commit do
association :merge_request, factory: :merge_request
author_name { 'test' }
author_email { 'test@test.com' }
message { '' }
relative_order { 0 }
sha { Digest::SHA1.hexdigest(SecureRandom.hex) }
end
end