Persist password (#393)

* never hold the owner of the room on the waiting screen

* persist room passwords so we can always call create meeting, even if it's already running, to avoid any inconsistency or race condition when joining a meeting

* Fixed issues in migration, room attribute updates, random_password and tests
This commit is contained in:
Jesus Federico
2019-03-12 17:54:57 -04:00
committed by GitHub
parent 3195bb4429
commit 08f6f32779
7 changed files with 39 additions and 20 deletions

View File

@ -75,7 +75,9 @@ describe Room, type: :model do
context "#start_session" do
it "should update latest session info" do
allow_any_instance_of(BigBlueButton::BigBlueButtonApi).to receive(:create_meeting).and_return(true)
allow_any_instance_of(BigBlueButton::BigBlueButtonApi).to receive(:create_meeting).and_return(
messageKey: ""
)
expect do
@room.start_session