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:
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 a9a637b4284..f001cecd28e 100644
--- a/spec/factories/ci/runners.rb
+++ b/spec/factories/ci/runners.rb
@@ -66,9 +66,9 @@ FactoryBot.define do
end
end
- trait :with_runner_machine do
+ trait :with_runner_manager do
after(:build) do |runner, evaluator|
- runner.runner_machines << build(:ci_runner_machine, runner: runner)
+ runner.runner_managers << build(:ci_runner_machine, runner: runner)
end
end