mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
tests are fixed
This commit is contained in:
parent
ada0f814a7
commit
d0dbb7d29e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,8 +15,8 @@ describe Program do
|
|||
it { is_expected.to have_many(:events).dependent(:destroy) }
|
||||
it { is_expected.to have_many(:event_schedules).through(:events) }
|
||||
it { is_expected.to have_many(:event_users).through(:events) }
|
||||
it { is_expected.to have_many(:speakers).through(:event_users).source(:user) }
|
||||
|
||||
it { is_expected.to have_many(:program_events_speakers).through(:events).source(:event_users) }
|
||||
it { is_expected.to have_many(:speakers).through(:program_events_speakers).source(:user) }
|
||||
it { is_expected.to accept_nested_attributes_for(:event_types) }
|
||||
it { is_expected.to accept_nested_attributes_for(:tracks) }
|
||||
it { is_expected.to accept_nested_attributes_for(:difficulty_levels) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue