Sha256: be71eeb4a44548a17f302d1fec9d3b20069e6bda1909ebbcb97b23d0a6f13199
Contents?: true
Size: 766 Bytes
Versions: 5
Compression:
Stored size: 766 Bytes
Contents
# frozen_string_literal: true require_relative "../test_helper" module Telnyx class RoomRecordingTest < Test::Unit::TestCase setup do @id = "73c4b97d-f19c-fec8-38ee-e6776c076487" @room_recording = RoomRecording.retrieve(@id) end should "be listable" do room_recordings = RoomRecording.list assert_requested(:get, "#{Telnyx.api_base}/v2/room_recordings") assert_kind_of Telnyx::TelnyxObject, room_recordings end should "be deletable" do id = @room_recording.id.freeze @room_recording.delete assert_requested :delete, "#{Telnyx.api_base}/v2/room_recordings/#{id}" end should "be viewable" do assert_requested :get, "#{Telnyx.api_base}/v2/room_recordings/#{@id}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems