debian-mirror-gitlab/spec/factories/releases.rb

16 lines
256 B
Ruby
Raw Normal View History

2018-03-17 18:26:18 +05:30
FactoryBot.define do
2015-11-26 14:37:03 +05:30
factory :release do
tag "v1.1.0"
2019-02-13 22:33:31 +05:30
sha 'b83d6e391c22777fca1ed3012fce84f633d7fed0'
name { tag }
2015-11-26 14:37:03 +05:30
description "Awesome release"
2017-09-10 17:25:29 +05:30
project
2019-02-13 22:33:31 +05:30
author
trait :legacy do
sha nil
author nil
end
2015-11-26 14:37:03 +05:30
end
end