more testing and code cleanup and enable coverage reports on circle

This commit is contained in:
Zachary Chai
2017-03-03 15:26:07 -05:00
parent bee42c8148
commit 7c86aa8e7f
9 changed files with 33 additions and 40 deletions

View File

@ -19,11 +19,9 @@ class RecordingUpdatesJob < ApplicationJob
queue_as :default
def perform(room, record_id, meeting=nil)
bbb_res = bbb_get_recordings({recordID: record_id})
recording = bbb_res[:recordings].first
full_id = room
full_id += "-#{recording[:metadata][:"meeting-name"]}"
def perform(room, record_id)
recording = bbb_get_recordings({recordID: record_id})[:recordings].first
full_id = "#{room}-#{recording[:metadata][:"meeting-name"]}"
ActionCable.server.broadcast "#{room}_recording_updates_channel",
action: 'update',
id: record_id,