Backport expired job artifact trait

This commit is contained in:
Gabriel Mazetto 2019-08-24 18:16:44 -03:00
parent 8112fb3754
commit b70aabf9b3

View file

@ -8,6 +8,10 @@ FactoryBot.define do
file_type :archive
file_format :zip
trait :expired do
expire_at { Date.yesterday }
end
trait :remote_store do
file_store JobArtifactUploader::Store::REMOTE
end