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