From 68a9229502de26c191dbd56738828736876217f6 Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Tue, 7 Nov 2017 11:50:00 +0100 Subject: Fix cluster_applications_helm factory with a configured cluster --- spec/factories/clusters/applications/helm.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'spec/factories/clusters/applications/helm.rb') 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 -- cgit v1.2.3