diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 11:50:00 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 11:50:00 +0100 |
commit | 68a9229502de26c191dbd56738828736876217f6 (patch) | |
tree | a8a4e84df18379c447e198e8327c479fdd60056a /spec/factories/clusters/applications | |
parent | d6134709cbf3802dc690b0eecce2466eff313727 (diff) | |
download | gitlab-ce-68a9229502de26c191dbd56738828736876217f6.tar.gz |
Fix cluster_applications_helm factory with a configured cluster
Diffstat (limited to 'spec/factories/clusters/applications')
-rw-r--r-- | spec/factories/clusters/applications/helm.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb index b63e26125d1..23818f19edf 100644 --- a/spec/factories/clusters/applications/helm.rb +++ b/spec/factories/clusters/applications/helm.rb @@ -1,29 +1,24 @@ FactoryGirl.define do factory :cluster_applications_helm, class: Clusters::Applications::Helm do - cluster factory: :cluster + cluster factory: %i(cluster provided_by_gcp) trait :installable do - cluster status 0 end trait :scheduled do - cluster status 1 end trait :installing do - cluster status 2 end trait :installed do - cluster status 3 end trait :errored do - cluster status(-1) status_reason 'something went wrong' end |