Commit f03eb233 authored by Thong Kuah's avatar Thong Kuah

Port helm application status spec factory to CE

parent e6fd3f19
...@@ -22,11 +22,24 @@ FactoryBot.define do ...@@ -22,11 +22,24 @@ FactoryBot.define do
status 3 status 3
end end
trait :updating do
status 4
end
trait :updated do
status 5
end
trait :errored do trait :errored do
status(-1) status(-1)
status_reason 'something went wrong' status_reason 'something went wrong'
end end
trait :update_errored do
status(6)
status_reason 'something went wrong'
end
trait :timeouted do trait :timeouted do
installing installing
updated_at ClusterWaitForAppInstallationWorker::TIMEOUT.ago updated_at ClusterWaitForAppInstallationWorker::TIMEOUT.ago
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment