Port helm application status spec factory to CE
This commit is contained in:
parent
e6fd3f1986
commit
f03eb23326
|
@ -22,11 +22,24 @@ FactoryBot.define do
|
|||
status 3
|
||||
end
|
||||
|
||||
trait :updating do
|
||||
status 4
|
||||
end
|
||||
|
||||
trait :updated do
|
||||
status 5
|
||||
end
|
||||
|
||||
trait :errored do
|
||||
status(-1)
|
||||
status_reason 'something went wrong'
|
||||
end
|
||||
|
||||
trait :update_errored do
|
||||
status(6)
|
||||
status_reason 'something went wrong'
|
||||
end
|
||||
|
||||
trait :timeouted do
|
||||
installing
|
||||
updated_at ClusterWaitForAppInstallationWorker::TIMEOUT.ago
|
||||
|
|
Loading…
Reference in New Issue