Tests for the new associations and models
Tests for the schedule versioning new associations and models
This commit is contained in:
parent
c047ffd699
commit
e7a30302ff
9 changed files with 66 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue