summaryrefslogtreecommitdiff
path: root/spec/factories/labels.rb
blob: 91a7400afa188f1be97934e8402228cde18e4b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# == Schema Information
#
# Table name: labels
#
#  id         :integer          not null, primary key
#  title      :string(255)
#  color      :string(255)
#  project_id :integer
#  created_at :datetime
#  updated_at :datetime
#  template   :boolean          default(FALSE)
#

FactoryGirl.define do
  factory :label do
    title { FFaker::Color.name }
    color "#990000"
    project
  end
end