Task me sync
This commit is contained in:
@@ -64,21 +64,6 @@ RSpec.describe ZoomGateway do
|
||||
expect(ZoomGateway.HOST_ROLE).to eq('pro-directme-host')
|
||||
end
|
||||
end
|
||||
|
||||
context '.enable_recordings?' do
|
||||
it 'is truthy when ZOOM_ENABLE_RECORDINGS is set to 1' do
|
||||
stub_env_variable('ZOOM_ENABLE_RECORDINGS', '1')
|
||||
expect(ZoomGateway.enable_recordings?).to be_truthy
|
||||
end
|
||||
|
||||
it 'is falsey otherwise' do
|
||||
stub_env_variable('ZOOM_ENABLE_RECORDINGS', '0')
|
||||
expect(ZoomGateway.enable_recordings?).to be_falsey
|
||||
|
||||
stub_env_variable('ZOOM_ENABLE_RECORDINGS', '2')
|
||||
expect(ZoomGateway.enable_recordings?).to be_falsey
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe ".find_meeting" do
|
||||
@@ -126,13 +111,6 @@ RSpec.describe ZoomGateway do
|
||||
end
|
||||
end
|
||||
|
||||
describe '.delete_recording' do
|
||||
it 'calls api client to delete recording' do
|
||||
expect_any_instance_of(Zoom.new.class).to receive(:recording_delete)
|
||||
gateway.delete_recording('meeting-id', 'recording-id')
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def stub_env_variable(name, value)
|
||||
|
||||
Reference in New Issue
Block a user