Commit ce7b05f4 authored by Shinya Maeda's avatar Shinya Maeda

Revert "Fix cluster_applications_helm factory as cluster always has been cerated"

This reverts commit 36d69130.
parent 36d69130
FactoryGirl.define do
factory :cluster_applications_helm, class: Clusters::Applications::Helm do
cluster factory: :cluster, strategy: :provided_by_gcp
cluster factory: :cluster
trait :installable do
status :installable
cluster
status 0
end
trait :scheduled do
status :scheduled
cluster
status 1
end
trait :installing do
status :installing
cluster
status 2
end
trait :installed do
status :installed
cluster
status 3
end
trait :errored do
status :errored
cluster
status(-1)
status_reason 'something went wrong'
end
......
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