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:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 13:50:00 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-07 13:50:00 +0300
commit68a9229502de26c191dbd56738828736876217f6 (patch)
treea8a4e84df18379c447e198e8327c479fdd60056a /spec/factories/clusters/applications/helm.rb
parentd6134709cbf3802dc690b0eecce2466eff313727 (diff)
Fix cluster_applications_helm factory with a configured cluster
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