diff options
Diffstat (limited to 'spec/factories/subscriptions.rb')
-rw-r--r-- | spec/factories/subscriptions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/subscriptions.rb b/spec/factories/subscriptions.rb index 2b652cd57bf..8ba96d9fa29 100644 --- a/spec/factories/subscriptions.rb +++ b/spec/factories/subscriptions.rb @@ -5,5 +5,11 @@ FactoryBot.define do project user { project.creator } subscribable factory: :issue + + trait :group_label do + project { nil } + user { association(:user) } + subscribable factory: :group_label + end end end |