Sha256: cb200e4a9d646b24fd0d915d0df6d10a296b25ea7bdbbb38ce5688c834d736ee
Contents?: true
Size: 631 Bytes
Versions: 5
Compression:
Stored size: 631 Bytes
Contents
# frozen_string_literal: true require_relative "../test_helper" module Telnyx class OtaUpdateTest < Test::Unit::TestCase should "be retrievable" do ota_update = OtaUpdate.retrieve "25cf43af-0011-1d29-73df-1fee18f3d15c" assert_requested :get, "#{Telnyx.api_base}/v2/ota_updates/25cf43af-0011-1d29-73df-1fee18f3d15c" assert_kind_of OtaUpdate, ota_update end should "be listable" do ota_updates = OtaUpdate.list assert_requested :get, "#{Telnyx.api_base}/v2/ota_updates" assert_kind_of ListObject, ota_updates assert_kind_of TelnyxObject, ota_updates.first end end end
Version data entries
5 entries across 5 versions & 1 rubygems