summaryrefslogtreecommitdiff
path: root/spec/factories/clusters/projects.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-10-22 19:42:58 +0000
committerAndreas Brandl <abrandl@gitlab.com>2018-10-22 19:42:58 +0000
commitec748a8f195cb206ad78962a99ad91f81b70b9bb (patch)
tree11ca52847ad2b944c77ed56b4dd87a91ba0e4f34 /spec/factories/clusters/projects.rb
parenta4b8e22f936d97eb4af7433a0c0a0d9990940400 (diff)
parente3ca493876ab71ed29817a0af436fc563f564bbe (diff)
downloadgitlab-ce-ec748a8f195cb206ad78962a99ad91f81b70b9bb.tar.gz
Merge branch '51716-add-kubernetes-namespace-model' into 'master'
Add Clusters::KubernetesNamespace model See merge request gitlab-org/gitlab-ce!22404
Diffstat (limited to 'spec/factories/clusters/projects.rb')
-rw-r--r--spec/factories/clusters/projects.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/clusters/projects.rb b/spec/factories/clusters/projects.rb
new file mode 100644
index 00000000000..6cda77c6f85
--- /dev/null
+++ b/spec/factories/clusters/projects.rb
@@ -0,0 +1,8 @@
+# frozen_string_literal: true
+
+FactoryBot.define do
+ factory :cluster_project, class: Clusters::Project do
+ cluster
+ project
+ end
+end