diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-06-28 17:10:26 +1000 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2019-07-02 14:17:01 +1000 |
commit | 29bd0775ff80a51322ec54be92e9eb08f63b1576 (patch) | |
tree | cbf7dc4d3a2833dfa427b3e7bce99fb6ba2c285e /spec/factories | |
parent | bf82e838fbffe0b450b3ad83a6c9fbb9577c2ff3 (diff) | |
download | gitlab-ce-29bd0775ff80a51322ec54be92e9eb08f63b1576.tar.gz |
Tidy spec for API::ProjectClustersproject-cluster-spec-improvements
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/clusters/clusters.rb | 2 |
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 |