BigW Consortium Gitlab

labels.rb 403 Bytes
Newer Older
Dmitriy Zaporozhets committed
1 2 3 4 5 6 7 8 9 10
# == 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
Dmitriy Zaporozhets committed
11
#  template   :boolean          default(FALSE)
Dmitriy Zaporozhets committed
12 13
#

14 15
FactoryGirl.define do
  factory :label do
16
    sequence(:title) { |n| "label#{n}" }
17 18 19 20
    color "#990000"
    project
  end
end