gitlab-org--gitlab-foss/spec/factories/releases.rb
Alessio Caiazza b782ba1113
Add name, author and sha to releases
This commit adds a name to each release, defaulting it to tag name,
keeps track of the SHA when a new release is created and tracks the
current user as release author.
2018-12-13 12:15:21 +01:00

8 lines
133 B
Ruby

FactoryBot.define do
factory :release do
tag "v1.1.0"
name { tag }
description "Awesome release"
project
end
end