Sha256: 52228492612824d63305f126e8f4199aa18793a0c6207db5c3520e8eb277005c

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class PublicKeyTest < Test::Unit::TestCase
    should "be retrievable" do
      omit "mock spec removed"
      public_key = Telnyx::PublicKey.retrieve
      assert_requested :get, "#{Telnyx.api_base}/v2/public_key"
      assert public_key.is_a?(Telnyx::PublicKey)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
telnyx-3.0.5 test/telnyx/public_key_test.rb
telnyx-3.0.4 test/telnyx/public_key_test.rb
telnyx-3.0.3 test/telnyx/public_key_test.rb
telnyx-3.0.2 test/telnyx/public_key_test.rb
telnyx-3.0.0 test/telnyx/public_key_test.rb
telnyx-2.9.0 test/telnyx/public_key_test.rb
telnyx-2.8.0 test/telnyx/public_key_test.rb
telnyx-2.7.0 test/telnyx/public_key_test.rb