diff options
Diffstat (limited to 'spec/factories/labels.rb')
-rw-r--r-- | spec/factories/labels.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/factories/labels.rb b/spec/factories/labels.rb index 942080b8644..34a56865697 100644 --- a/spec/factories/labels.rb +++ b/spec/factories/labels.rb @@ -4,4 +4,12 @@ FactoryGirl.define do color "#990000" subject factory: :project end + + factory :group_label, parent: :label do + label_type Label.label_types[:group_label] + end + + factory :project_label, parent: :label do + label_type Label.label_types[:project_label] + end end |