mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
17 lines
493 B
Ruby
17 lines
493 B
Ruby
# Read about factories at https://github.com/thoughtbot/factory_girl
|
|
|
|
FactoryGirl.define do
|
|
factory :conference do
|
|
title 'The dog and pony show'
|
|
sequence(:short_title) { |n| "dps#{n}14" }
|
|
social_tag 'dps14'
|
|
timezone 'Amsterdam'
|
|
contact_email 'admin@example.com'
|
|
start_date { Date.today }
|
|
end_date { 6.days.from_now }
|
|
registration_start_date { 3.days.from_now }
|
|
registration_end_date { 5.days.from_now }
|
|
make_conference_public true
|
|
venue
|
|
end
|
|
end
|