Event model improvements
- Drop selected_event_schedule function - Rename scheduled_room and scheduled_start_time to room and time as if there is no selected_schedule, the event is not scheduled.
This commit is contained in:
parent
5001848af7
commit
a578167cf5
13 changed files with 32 additions and 35 deletions
|
|
@ -15,7 +15,7 @@ describe EventSerializer, type: :serializer do
|
|||
abstract: '<p>Lorem ipsum dolor sit amet</p>',
|
||||
speaker_ids: [],
|
||||
type: 'Example Event Type',
|
||||
scheduled_room: nil,
|
||||
room: nil,
|
||||
track: nil
|
||||
}
|
||||
}.to_json
|
||||
|
|
@ -47,7 +47,7 @@ describe EventSerializer, type: :serializer do
|
|||
abstract: '<p>Lorem ipsum dolor sit amet</p>',
|
||||
speaker_ids: [speaker.user.id],
|
||||
type: 'Example Event Type',
|
||||
scheduled_room: room.guid,
|
||||
room: room.guid,
|
||||
track: track.guid
|
||||
}
|
||||
}.to_json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue