diff options
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/runners.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb index cdc170b9ccb..9d106250d08 100644 --- a/spec/factories/ci/runners.rb +++ b/spec/factories/ci/runners.rb @@ -21,6 +21,19 @@ FactoryBot.define do is_shared false end + trait :group do + runner_type :group_type + end + + trait :project do + runner_type :project_type + end + + trait :instance do + is_shared true + runner_type :instance_type + end + trait :inactive do active false end |