diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-10-23 09:46:42 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-10-23 09:46:42 +0300 |
commit | 66e02d395b42149b7fd0d96ca9aea1814f6eef28 (patch) | |
tree | 4e94215a950d4ae05dff35483d93fd68bfdf84d4 /spec/factories | |
parent | 075bbd4cb614783b7b49613c70088fe6bca766d2 (diff) | |
parent | f572226fd56d1e161cfe26c52230b991c75159df (diff) |
Merge branch '52840-fix-runners-details-page' into 'master'
Resolve "Group runner confused about whether or not is protected"
Closes #52840
See merge request gitlab-org/gitlab-ce!22459
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/ci/runners.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/ci/runners.rb b/spec/factories/ci/runners.rb index f564e7bee47..24e70913b87 100644 --- a/spec/factories/ci/runners.rb +++ b/spec/factories/ci/runners.rb @@ -47,5 +47,15 @@ FactoryBot.define do trait :ref_protected do access_level :ref_protected end + + trait :tagged_only do + run_untagged false + + tag_list %w(tag1 tag2) + end + + trait :locked do + locked true + end end end |