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:
authorDylan Griffith <dyl.griffith@gmail.com>2019-06-28 10:10:26 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2019-07-02 07:17:01 +0300
commit29bd0775ff80a51322ec54be92e9eb08f63b1576 (patch)
treecbf7dc4d3a2833dfa427b3e7bce99fb6ba2c285e /spec/factories
parentbf82e838fbffe0b450b3ad83a6c9fbb9577c2ff3 (diff)
Tidy spec for API::ProjectClusters
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/clusters/clusters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/clusters/clusters.rb b/spec/factories/clusters/clusters.rb
index 6eb0194b710..ab332fc238b 100644
--- a/spec/factories/clusters/clusters.rb
+++ b/spec/factories/clusters/clusters.rb
@@ -13,7 +13,7 @@ FactoryBot.define do
cluster_type { Clusters::Cluster.cluster_types[:project_type] }
before(:create) do |cluster, evaluator|
- cluster.projects << create(:project, :repository) unless cluster.projects.present?
+ cluster.projects << create(:project) unless cluster.projects.present?
end
end