Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/clusters/applications/helm.rb')
-rw-r--r--spec/factories/clusters/applications/helm.rb7
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