osem-fcy/spec/factories/cfps.rb

15 lines
332 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-09-03 20:48:28 +02:00
# Read about factories at https://github.com/thoughtbot/factory_bot
2014-04-30 14:48:20 +02:00
FactoryBot.define do
factory :cfp do
start_date { 1.day.ago }
2017-07-07 16:13:35 +03:00
end_date { 2.days.from_now }
cfp_type { 'events' }
description { 'This is a test description' }
enable_registrations { true }
2016-04-30 17:56:23 +02:00
program
end
end