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

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

This reverts commit 36d69130.
上级 36d69130
FactoryGirl.define do FactoryGirl.define do
factory :cluster_applications_helm, class: Clusters::Applications::Helm do factory :cluster_applications_helm, class: Clusters::Applications::Helm do
cluster factory: :cluster, strategy: :provided_by_gcp cluster factory: :cluster
trait :installable do trait :installable do
status :installable cluster
status 0
end end
trait :scheduled do trait :scheduled do
status :scheduled cluster
status 1
end end
trait :installing do trait :installing do
status :installing cluster
status 2
end end
trait :installed do trait :installed do
status :installed cluster
status 3
end end
trait :errored do trait :errored do
status :errored cluster
status(-1)
status_reason 'something went wrong' status_reason 'something went wrong'
end end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册