Commit c2cf6180 authored by Matija Čupić's avatar Matija Čupić

Backport cluster factory changes from EE

parent 40683268
......@@ -4,8 +4,8 @@ FactoryBot.define do
name 'test-cluster'
trait :project do
after(:create) do |cluster, evaluator|
cluster.projects << create(:project)
before(:create) do |cluster, evaluator|
cluster.projects << create(:project, :repository)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment