diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 09:34:07 +0100 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-07 10:10:57 +0100 |
commit | f9364929bacf9ed68e32bb50758e24715d404069 (patch) | |
tree | f77872bd9da21dced7ae1fd39564ef7602dfab15 /spec/factories/clusters/applications | |
parent | 8638cf66d9212143749a85b4429b52fde2169026 (diff) | |
download | gitlab-ce-f9364929bacf9ed68e32bb50758e24715d404069.tar.gz |
Rename application_helm factory to cluster_application_helm
Diffstat (limited to 'spec/factories/clusters/applications')
-rw-r--r-- | spec/factories/clusters/applications/helm.rb | 8 |
1 files changed, 2 insertions, 6 deletions
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 |