From f9364929bacf9ed68e32bb50758e24715d404069 Mon Sep 17 00:00:00 2001 From: Alessio Caiazza Date: Tue, 7 Nov 2017 09:34:07 +0100 Subject: Rename application_helm factory to cluster_application_helm --- spec/factories/clusters/applications/helm.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'spec/factories') diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb index fd956097115..b63e26125d1 100644 --- a/spec/factories/clusters/applications/helm.rb +++ b/spec/factories/clusters/applications/helm.rb @@ -1,10 +1,6 @@ FactoryGirl.define do - factory :applications_helm, class: Clusters::Applications::Helm do - trait :cluster do - before(:create) do |app, _| - app.cluster = create(:cluster) - end - end + factory :cluster_applications_helm, class: Clusters::Applications::Helm do + cluster factory: :cluster trait :installable do cluster -- cgit v1.2.1