Sha256: 409b5b6f7afc2342a81cedb17e9631076bf1ab75dcd2a4361b243b1024a91d48

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class NumberReservationTest < Test::Unit::TestCase
    should "be listable" do
      number_reservations = Telnyx::NumberReservation.list
      assert_requested :get, "#{Telnyx.api_base}/v2/number_reservations"
      assert_kind_of Telnyx::ListObject, number_reservations
      assert_kind_of Telnyx::NumberReservation, number_reservations.first
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
telnyx-0.0.1 test/telnyx/number_reservation_test.rb