forked from External/greenlight
Added fix for multitenant error (#394)
* Added fix for multitenant error * Fixed issue with room lock when using ldap * Fixed test cases * Fixed rubocop issue * Included internal documentation for LDAP ENV variables
This commit is contained in:
committed by
Jesus Federico
parent
08f6f32779
commit
c0b46be547
@ -74,6 +74,7 @@ describe RoomsController, type: :controller do
|
||||
end
|
||||
|
||||
it "redirects to root if owner of room is not verified" do
|
||||
allow(Rails.configuration).to receive(:enable_email_verification).and_return(true)
|
||||
@owner.update_attribute(:email_verified, false)
|
||||
|
||||
post :show, params: { room_uid: @owner.main_room }
|
||||
@ -162,6 +163,7 @@ describe RoomsController, type: :controller do
|
||||
end
|
||||
|
||||
it "redirects to root if owner of room is not verified" do
|
||||
allow(Rails.configuration).to receive(:enable_email_verification).and_return(true)
|
||||
@owner.update_attribute(:email_verified, false)
|
||||
|
||||
post :join, params: { room_uid: @room, join_name: @owner.name }
|
||||
|
Reference in New Issue
Block a user