summaryrefslogtreecommitdiff
path: root/spec/factories/broadcast_messages.rb
blob: ea0039d39e67e1d4cf53c213a417a88869a03f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# == Schema Information
#
# Table name: broadcast_messages
#
#  id         :integer          not null, primary key
#  message    :text             not null
#  starts_at  :datetime
#  ends_at    :datetime
#  alert_type :integer
#  created_at :datetime
#  updated_at :datetime
#  color      :string(255)
#  font       :string(255)
#

# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :broadcast_message do
    message "MyText"
    starts_at "2013-11-12 13:43:25"
    ends_at "2013-11-12 13:43:25"
    alert_type 1
    color "#555555"
    font "#BBBBBB"
  end
end