Tests for the new associations and models

Tests for the schedule versioning new associations and models
This commit is contained in:
Ana 2016-07-08 13:27:42 +02:00
parent c047ffd699
commit e7a30302ff
9 changed files with 66 additions and 17 deletions

View file

@ -11,7 +11,7 @@ describe Room do
describe 'association' do
it { should belong_to(:venue) }
it { should have_many(:events).dependent(:nullify) }
it { should have_many(:event_schedules).dependent(:nullify) }
end
describe 'callback' do