diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-10-18 16:21:40 +0300 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2018-10-22 17:29:09 +0300 |
commit | aed0f088f5037e41bd40dc41d029937b71e3c87b (patch) | |
tree | 96f924280a4cfbce3c6dcff35f2869371a0eee46 /spec/factories/ci | |
parent | 019701ce9e0675e2727dcced84d4c406a1592f96 (diff) |
Add tests for shared/runners/show.html.haml view
Diffstat (limited to 'spec/factories/ci')
-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 |