summaryrefslogtreecommitdiff
path: root/spec/factories/clusters/applications/helm.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-11-07 14:52:11 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2017-11-07 14:52:11 +0100
commit760a154a032319a90e15dcf4d54ec1c1cdde9e1c (patch)
tree15de9ed0cdb9f4aa09f6c25a642971d186da2119 /spec/factories/clusters/applications/helm.rb
parent55d098c94b4f7e39931d5e4084be19872386fa18 (diff)
downloadgitlab-ce-760a154a032319a90e15dcf4d54ec1c1cdde9e1c.tar.gz
Fix tests for initial status
Diffstat (limited to 'spec/factories/clusters/applications/helm.rb')
-rw-r--r--spec/factories/clusters/applications/helm.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/clusters/applications/helm.rb b/spec/factories/clusters/applications/helm.rb
index 23818f19edf..a0c874b103b 100644
--- a/spec/factories/clusters/applications/helm.rb
+++ b/spec/factories/clusters/applications/helm.rb
@@ -2,6 +2,10 @@ FactoryGirl.define do
factory :cluster_applications_helm, class: Clusters::Applications::Helm do
cluster factory: %i(cluster provided_by_gcp)
+ trait :not_installable do
+ status -2
+ end
+
trait :installable do
status 0
end