Sha256: b3a15c7e5f1d8d32f64d6a605f8e09025e65d2d58e45b5579baefe1111a0a50a

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

require_relative "../test_helper"

module Telnyx
  class InferenceTest < Test::Unit::TestCase
    should "be creatable" do
      omit "method restructuring"
      Telnyx::Inference.create(text: ["Foo"])
      assert_requested :post, "#{Telnyx.api_base}/v2/ai/generate"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telnyx-3.0.5 test/telnyx/inference_test.rb
telnyx-3.0.4 test/telnyx/inference_test.rb
telnyx-3.0.3 test/telnyx/inference_test.rb
telnyx-3.0.2 test/telnyx/inference_test.rb