summaryrefslogtreecommitdiff
path: root/spec/factories/ci/runners.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 15:12:12 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-05 15:12:12 +0000
commit8ec882085e734458ffe0fff8e2e4b72bc3871419 (patch)
tree6869bb67f3e66e9de828bc47a08577efa1e296c6 /spec/factories/ci/runners.rb
parentf63850d9d6c3a81e78c93995c904ed6c0785ef19 (diff)
downloadgitlab-ce-8ec882085e734458ffe0fff8e2e4b72bc3871419.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/factories/ci/runners.rb')
-rw-r--r--spec/factories/ci/runners.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb
index 18026412261..4758986b47c 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -18,11 +18,11 @@ FactoryBot.define do
after(:build) do |runner, evaluator|
evaluator.projects.each do |proj|
- runner.runner_projects << build(:ci_runner_project, project: proj)
+ runner.runner_projects << build(:ci_runner_project, runner: runner, project: proj)
end
evaluator.groups.each do |group|
- runner.runner_namespaces << build(:ci_runner_namespace, namespace: group)
+ runner.runner_namespaces << build(:ci_runner_namespace, runner: runner, namespace: group)
end
end