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-15 15:39:39 +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-15 15:39:39 +05:30
|
|
|
author
|
2019-09-30 21:07:59 +05:30
|
|
|
released_at { Time.zone.parse('2018-10-20T18:00:00Z') }
|
2019-02-15 15:39:39 +05:30
|
|
|
|
|
|
|
trait :legacy do
|
|
|
|
sha nil
|
|
|
|
author nil
|
|
|
|
end
|
2015-11-26 14:37:03 +05:30
|
|
|
end
|
|
|
|
end
|