Backport expired job artifact trait
This commit is contained in:
parent
8112fb3754
commit
b70aabf9b3
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue