Add room and dates to tracks

They are required only for accepted and confirmed self-organized tracks
This commit is contained in:
AEtherC0r3 2017-07-12 15:56:07 +03:00
parent 06ecc872ea
commit 5774d09d2b
9 changed files with 99 additions and 2 deletions

View file

@ -12,6 +12,7 @@ describe Room do
describe 'association' do
it { should belong_to(:venue) }
it { should have_many(:event_schedules).dependent(:destroy) }
it { should have_many(:tracks) }
end
describe 'callback' do