debian-mirror-gitlab/spec/factories/labels.rb

8 lines
125 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
FactoryGirl.define do
factory :label do
2016-06-02 11:05:42 +05:30
sequence(:title) { |n| "label#{n}" }
2014-09-02 18:07:02 +05:30
color "#990000"
project
end
end