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

releases.rb « factories « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cab6b4a811f01830272b23bc67c12b1761649a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FactoryBot.define do
  factory :release do
    tag "v1.1.0"
    sha 'b83d6e391c22777fca1ed3012fce84f633d7fed0'
    name { tag }
    description "Awesome release"
    project
    author

    trait :legacy do
      sha nil
      author nil
    end
  end
end