2019-07-25 01:11:48 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-12-13 19:13:44 -05:00
|
|
|
FactoryBot.define do
|
2015-11-05 05:03:02 -05:00
|
|
|
factory :release do
|
2019-10-01 20:06:26 -04:00
|
|
|
tag { "v1.1.0" }
|
|
|
|
sha { 'b83d6e391c22777fca1ed3012fce84f633d7fed0' }
|
2018-12-12 04:56:43 -05:00
|
|
|
name { tag }
|
2019-10-01 20:06:26 -04:00
|
|
|
description { "Awesome release" }
|
2017-08-02 15:55:11 -04:00
|
|
|
project
|
2018-12-13 06:08:53 -05:00
|
|
|
author
|
2019-07-03 05:12:15 -04:00
|
|
|
released_at { Time.zone.parse('2018-10-20T18:00:00Z') }
|
2018-12-25 04:48:26 -05:00
|
|
|
|
|
|
|
trait :legacy do
|
2019-10-01 20:06:26 -04:00
|
|
|
sha { nil }
|
|
|
|
author { nil }
|
2018-12-25 04:48:26 -05:00
|
|
|
end
|
2015-11-05 05:03:02 -05:00
|
|
|
end
|
|
|
|
end
|