Backport cluster factory changes from EE
This commit is contained in:
parent
40683268b2
commit
c2cf618036
|
@ -4,8 +4,8 @@ FactoryBot.define do
|
||||||
name 'test-cluster'
|
name 'test-cluster'
|
||||||
|
|
||||||
trait :project do
|
trait :project do
|
||||||
after(:create) do |cluster, evaluator|
|
before(:create) do |cluster, evaluator|
|
||||||
cluster.projects << create(:project)
|
cluster.projects << create(:project, :repository)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue