2014-02-17 18:05:39 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: windows
|
|
|
|
#
|
|
|
|
# id :integer not null, primary key
|
|
|
|
# channel_id :integer
|
|
|
|
# position :integer
|
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# html :text
|
|
|
|
# col :integer
|
|
|
|
# title :string(255)
|
2014-07-23 01:13:11 +02:00
|
|
|
# window_type :string(255)
|
2014-02-17 18:05:39 +01:00
|
|
|
# name :string(255)
|
|
|
|
# private_flag :boolean default(FALSE)
|
|
|
|
# show_flag :boolean default(TRUE)
|
2014-07-23 01:13:11 +02:00
|
|
|
# content_id :integer
|
|
|
|
# options :text
|
2014-02-17 18:05:39 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# Read about factories at http://github.com/thoughtbot/factory_girl
|
|
|
|
|
|
|
|
FactoryGirl.define do
|
|
|
|
factory :window do
|
|
|
|
channel_id 1
|
|
|
|
position 1
|
|
|
|
html "<iframe ::OPTIONS::></iframe>"
|
|
|
|
col 0
|
2014-07-23 01:13:11 +02:00
|
|
|
content_id 1
|
2014-02-17 18:05:39 +01:00
|
|
|
end
|
|
|
|
end
|
2014-07-23 01:13:11 +02:00
|
|
|
|