labels.rb 146 Bytes
Newer Older
1
FactoryGirl.define do
2
  factory :label, class: ProjectLabel do
3
    sequence(:title) { |n| "label#{n}" }
4 5 6 7
    color "#990000"
    project
  end
end