summaryrefslogtreecommitdiff
path: root/spec/factories/releases.rb
diff options
context:
space:
mode:
authorJason Goodman <jgoodman@gitlab.com>2019-07-03 09:12:15 +0000
committerNick Thomas <nick@gitlab.com>2019-07-03 09:12:15 +0000
commit7ecffe2987e0f3953489759d080fc263c5cb95c5 (patch)
treee9a01188b0b731b997a14f795dc44f22a0c7f708 /spec/factories/releases.rb
parentd6391c650344af7018de8a3dc6a756b2db9e4f6e (diff)
downloadgitlab-ce-7ecffe2987e0f3953489759d080fc263c5cb95c5.tar.gz
Show upcoming status for releases
Add released_at field to releases API Add released_at column to releases table Return releases to the API sorted by released_at
Diffstat (limited to 'spec/factories/releases.rb')
-rw-r--r--spec/factories/releases.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/releases.rb b/spec/factories/releases.rb
index cab6b4a811f..4cacc77c182 100644
--- a/spec/factories/releases.rb
+++ b/spec/factories/releases.rb
@@ -6,6 +6,7 @@ FactoryBot.define do
description "Awesome release"
project
author
+ released_at { Time.zone.parse('2018-10-20T18:00:00Z') }
trait :legacy do
sha nil