diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-01-14 20:59:35 +0300 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-01-22 20:30:43 +0300 |
commit | cfe65a0d3ef23987fbdf21d3a907b1d2980c1f93 (patch) | |
tree | e4293def55379241de86dbfab2756e1ae72ff9de /spec/factories/clusters | |
parent | 037fddad52e0e74c155da524663e11dd94de0394 (diff) |
Add domain field into Clusters::Cluster
This is the 1st step for moving Auto DevOps domain into cluster
settings, whether is project or group.
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
Diffstat (limited to 'spec/factories/clusters')
-rw-r--r-- | spec/factories/clusters/clusters.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/clusters/clusters.rb b/spec/factories/clusters/clusters.rb index 3e2c0df8afb..a2e5f4862db 100644 --- a/spec/factories/clusters/clusters.rb +++ b/spec/factories/clusters/clusters.rb @@ -59,5 +59,9 @@ FactoryBot.define do trait :with_installed_helm do application_helm factory: %i(clusters_applications_helm installed) end + + trait :with_domain do + domain 'example.com' + end end end |