Pass createTime as part of the join call (#2488)

This commit is contained in:
Ahmad Farhat
2021-01-27 19:48:39 -05:00
committed by GitHub
parent 6ee92c839b
commit 062525d2d5
3 changed files with 20 additions and 5 deletions

View File

@ -251,6 +251,10 @@ describe RoomsController, type: :controller do
@user = create(:user)
@owner = create(:user)
@room = @owner.main_room
allow_any_instance_of(BigBlueButton::BigBlueButtonApi).to receive(:create_meeting).and_return(
messageKey: "",
createTime: "1611793449622"
)
end
it "should use account name if user is logged in and meeting running" do
@ -521,6 +525,10 @@ describe RoomsController, type: :controller do
moderatorPW: "modpass",
attendeePW: "attpass",
)
allow_any_instance_of(BigBlueButton::BigBlueButtonApi).to receive(:create_meeting).and_return(
messageKey: "",
createTime: "1611793449622"
)
end
it "should redirect to join path if owner" do