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 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment