Program component for splash page
This commit is contained in:
parent
a33e930111
commit
d0fd21bfc2
18 changed files with 118 additions and 11 deletions
|
|
@ -6,8 +6,19 @@ FactoryGirl.define do
|
|||
sequence(:short_title) { |n| "dps#{n}14" }
|
||||
social_tag 'dps14'
|
||||
timezone 'Amsterdam'
|
||||
description 'Lorem Ipsum dolsum'
|
||||
contact_email 'admin@example.com'
|
||||
start_date Date.today
|
||||
end_date Date.tomorrow
|
||||
factory :conference_with_registration do
|
||||
after(:build) do |conference|
|
||||
create(:participant_role)
|
||||
create(:admin_role)
|
||||
user = build(:user)
|
||||
conference.registrations << build(:registration,
|
||||
conference: conference,
|
||||
person: user.person)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue