diff options
Diffstat (limited to 'spec/factories/projects')
-rw-r--r-- | spec/factories/projects/build_artifacts_size_refreshes.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/projects/build_artifacts_size_refreshes.rb b/spec/factories/projects/build_artifacts_size_refreshes.rb index b05f5dfab1c..b00cecfa705 100644 --- a/spec/factories/projects/build_artifacts_size_refreshes.rb +++ b/spec/factories/projects/build_artifacts_size_refreshes.rb @@ -18,6 +18,10 @@ FactoryBot.define do refresh_started_at { Time.zone.now } end + trait :finalizing do + state { Projects::BuildArtifactsSizeRefresh::STATES[:finalizing] } + end + trait :stale do running refresh_started_at { 30.days.ago } |