2013-11-13 07:10:03 -05:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: broadcast_messages
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# message :text default(""), not null
|
|
|
|
# starts_at :datetime
|
|
|
|
# ends_at :datetime
|
|
|
|
# alert_type :integer
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
2013-12-09 00:34:51 -05:00
|
|
|
# color :string(255)
|
|
|
|
# font :string(255)
|
2013-11-13 07:10:03 -05:00
|
|
|
#
|
|
|
|
|
2013-11-12 06:47:28 -05:00
|
|
|
# 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
|
2013-12-19 14:06:59 -05:00
|
|
|
color "#555555"
|
|
|
|
font "#BBBBBB"
|
2013-11-12 06:47:28 -05:00
|
|
|
end
|
|
|
|
end
|