Sponsor dashboard added, with sponsor component for splash page

This commit is contained in:
Gopesh Tulsyan 2014-05-26 13:51:03 +05:30
parent 643b8b173a
commit ea119a8158
36 changed files with 549 additions and 12 deletions

View file

@ -9,5 +9,10 @@ FactoryGirl.define do
contact_email 'admin@example.com'
start_date Date.today
end_date Date.tomorrow
factory :conference_with_sponsorship_level do
after(:build) do |conference|
conference.sponsorship_levels << build(:sponsorship_level, conference: conference)
end
end
end
end