Sha256: 70411787e9fdeabd4e1b7f5ea274ee968f385cd8c81f2cbc1f7249b72f8e9876
Contents?: true
Size: 971 Bytes
Versions: 16
Compression:
Stored size: 971 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Zoom::Actions::Recording do let(:zc) { zoom_client } let(:args) { { recording_id: 'kEFomHcIRgqxZT8D086O6A', meeting_id: 933560800 } } describe '#meeting_recording_file_delete action' do before :each do stub_request( :delete, zoom_url("/meetings/#{args[:meeting_id]}/recordings/#{args[:recording_id]}") ).to_return( status: 204, headers: { 'Content-Type' => 'application/json' } ) end it "requires a 'meeting_id' and 'recording_id' argument" do expect { zc.meeting_recording_file_delete(filter_key(args, :meeting_id)) }.to raise_error(Zoom::ParameterMissing) expect { zc.meeting_recording_file_delete(filter_key(args, :recording_id)) }.to raise_error(Zoom::ParameterMissing) end it 'returns a status code' do expect(zc.meeting_recording_file_delete(args)).to eq 204 end end end
Version data entries
16 entries across 16 versions & 1 rubygems