提交 ce7b05f4 编写于 作者: S Shinya Maeda

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

This reverts commit 36d69130.
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册