diff options
Diffstat (limited to 'spec/factories/project_hooks.rb')
-rw-r--r-- | spec/factories/project_hooks.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/project_hooks.rb b/spec/factories/project_hooks.rb index 88c06b3857a..e0b61526ba0 100644 --- a/spec/factories/project_hooks.rb +++ b/spec/factories/project_hooks.rb @@ -25,5 +25,9 @@ FactoryBot.define do feature_flag_events { true } releases_events { true } end + + trait :with_push_branch_filter do + push_events_branch_filter { 'my-branch-*' } + end end end |