Added tests

This commit is contained in:
farhatahmad
2020-04-06 16:25:04 -04:00
parent 33d7fa4e1e
commit 63b6bb7407
2 changed files with 63 additions and 2 deletions

View File

@ -62,7 +62,8 @@ class RoomsController < ApplicationController
# GET /:room_uid
def show
@anyone_can_start = JSON.parse(@room[:room_settings])["anyoneCanStart"]
@room_settings = @room[:room_settings]
@anyone_can_start = room_setting_with_config("anyoneCanStart")
@room_running = room_running?(@room.bbb_id)
@shared_room = room_shared_with_user