osem-fcy/spec/factories/registration_periods.rb

21 lines
408 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2021-02-20 09:57:27 -08:00
# == Schema Information
#
# Table name: registration_periods
#
# id :bigint not null, primary key
# end_date :date
# start_date :date
# created_at :datetime
# updated_at :datetime
# conference_id :integer
#
FactoryBot.define do
factory :registration_period do
2016-04-30 17:56:23 +02:00
start_date { 3.days.ago }
end_date { 5.days.from_now }
end
end