summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzciński <ayufan@ayufan.eu>2019-04-02 06:54:54 +0000
committerKamil Trzciński <ayufan@ayufan.eu>2019-04-02 06:54:54 +0000
commite929fc1b9eccd42db9c0fb61786fecb26aa49d0c (patch)
treea4d157a4a436d1a0151651b17ac4e9790b124ef7 /spec
parentc44b9e9e5b79c4012a0fea8743fc058a444234d0 (diff)
parent6473f6976124f047a56f9d004e3d0746ab493b29 (diff)
downloadgitlab-ce-e929fc1b9eccd42db9c0fb61786fecb26aa49d0c.tar.gz
Merge branch '56557-add-managed-field-to-cluster' into 'master'
Adds `managed` boolean column to Clusters table Closes #56557 See merge request gitlab-org/gitlab-ce!26675
Diffstat (limited to 'spec')
-rw-r--r--spec/factories/clusters/clusters.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/clusters/clusters.rb b/spec/factories/clusters/clusters.rb
index 1cc3c0e03d8..97405ec7c58 100644
--- a/spec/factories/clusters/clusters.rb
+++ b/spec/factories/clusters/clusters.rb
@@ -3,6 +3,7 @@ FactoryBot.define do
user
name 'test-cluster'
cluster_type :project_type
+ managed true
trait :instance do
cluster_type { Clusters::Cluster.cluster_types[:instance_type] }
@@ -63,5 +64,9 @@ FactoryBot.define do
trait :with_domain do
domain 'example.com'
end
+
+ trait :user_managed do
+ managed false
+ end
end
end