Sha256: 2d4da83c51d2db13a92cce310406416566f17705047a7815d7facd005ef7c59c

Contents?: true

Size: 556 Bytes

Versions: 6

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class RoomParticipantTest < Test::Unit::TestCase
    should "be listable" do
      room_compositions = RoomParticipant.list
      assert_requested(:get, "#{Telnyx.api_base}/v2/room_participants")
      assert_kind_of Telnyx::TelnyxObject, room_compositions
    end

    should "be viewable" do
      id = "5219b3af-87c6-4c08-9b58-5a533d893e21"
      RoomParticipant.retrieve(id)
      assert_requested :get, "#{Telnyx.api_base}/v2/room_participants/#{id}"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telnyx-3.0.6 test/telnyx/room_participant_test.rb
telnyx-3.0.5 test/telnyx/room_participant_test.rb
telnyx-3.0.4 test/telnyx/room_participant_test.rb
telnyx-3.0.3 test/telnyx/room_participant_test.rb
telnyx-3.0.2 test/telnyx/room_participant_test.rb
telnyx-3.0.0 test/telnyx/room_participant_test.rb