Commit 36d69130 authored by Shinya Maeda's avatar Shinya Maeda

Fix cluster_applications_helm factory as cluster always has been cerated

parent d89d514e
FactoryGirl.define do
factory :cluster_applications_helm, class: Clusters::Applications::Helm do
cluster factory: :cluster
cluster factory: :cluster, strategy: :provided_by_gcp
trait :installable do
cluster
status 0
status :installable
end
trait :scheduled do
cluster
status 1
status :scheduled
end
trait :installing do
cluster
status 2
status :installing
end
trait :installed do
cluster
status 3
status :installed
end
trait :errored do
cluster
status(-1)
status :errored
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