2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2021-02-20 09:57:27 -08:00
|
|
|
# == Schema Information
|
|
|
|
|
#
|
|
|
|
|
# Table name: cfps
|
|
|
|
|
#
|
|
|
|
|
# id :bigint not null, primary key
|
|
|
|
|
# cfp_type :string
|
|
|
|
|
# description :text
|
|
|
|
|
# enable_registrations :boolean default(FALSE)
|
|
|
|
|
# end_date :date not null
|
|
|
|
|
# start_date :date not null
|
|
|
|
|
# created_at :datetime
|
|
|
|
|
# updated_at :datetime
|
|
|
|
|
# program_id :integer
|
|
|
|
|
#
|
2014-04-30 14:48:20 +02:00
|
|
|
|
2018-09-03 20:44:39 +02:00
|
|
|
FactoryBot.define do
|
2015-10-25 13:29:02 +02:00
|
|
|
factory :cfp do
|
2014-07-23 09:08:50 +02:00
|
|
|
start_date { 1.day.ago }
|
2017-07-07 16:13:35 +03:00
|
|
|
end_date { 2.days.from_now }
|
2018-09-08 03:58:50 +02:00
|
|
|
cfp_type { 'events' }
|
|
|
|
|
description { 'This is a test description' }
|
2018-10-18 12:01:42 -07:00
|
|
|
enable_registrations { true }
|
2016-04-30 17:56:23 +02:00
|
|
|
program
|
2014-04-09 01:32:47 +02:00
|
|
|
end
|
|
|
|
|
end
|