You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
FactoryGirl.define do
|
|
|
|
factory :upcoming_conference, :class => 'Conference' do
|
|
|
|
title 'My Bike!Bike!'
|
|
|
|
slug 'MyBikeBike'
|
|
|
|
info 'Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.'
|
|
|
|
poster 'poster.jpg'
|
|
|
|
cover 'cover.jpg'
|
|
|
|
registration_open false
|
|
|
|
start_date Date.today - 30.days
|
|
|
|
end_date Date.today - 26.days
|
|
|
|
conference_type_id (ConferenceType.find_by(:slug => 'bikebike') || ConferenceType.create(:slug => 'bikebike')).id
|
|
|
|
paypal_username 'joe'
|
|
|
|
locale 'en'
|
|
|
|
end
|
|
|
|
|
|
|
|
factory :org, :class => 'Organization' do
|
|
|
|
name 'My Organization'
|
|
|
|
info 'Curabitur non nulla sit amet nisl tempus convallis quis ac lectus.'
|
|
|
|
avatar 'avatar.jpg'
|
|
|
|
cover 'cover.jpg'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
World(FactoryGirl::Syntax::Methods)
|