thingspeak/spec/factories/windows.rb
2014-07-22 19:13:11 -04:00

33 lines
712 B
Ruby

# == 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)
# window_type :string(255)
# name :string(255)
# private_flag :boolean default(FALSE)
# show_flag :boolean default(TRUE)
# content_id :integer
# options :text
#
# 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
content_id 1
end
end