Sha256: 2b3b5588342a6941f7e7102d5b07458b15e70a8013283f59594f31974372ac12

Contents?: true

Size: 1.87 KB

Versions: 15

Compression:

Stored size: 1.87 KB

Contents

=begin
#Carbon

#Connect external data to LLMs, no matter the source.

The version of the OpenAPI document: 1.0.0
=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for Carbon::SentWebhookPayload
describe Carbon::SentWebhookPayload do
  let(:instance) { Carbon::SentWebhookPayload.new }

  describe 'test an instance of SentWebhookPayload' do
    it 'should create an instance of SentWebhookPayload' do
      expect(instance).to be_instance_of(Carbon::SentWebhookPayload)
    end
  end
  describe 'test attribute "webhook_type"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["ADD", "ALL_UPLOADED_FILES_QUEUED", "CANCEL", "CHECKUP", "DATA_SOURCE_READY", "EMBEDDING_STORAGE_MODIFIED", "FILES_CREATED", "FILES_SKIPPED", "FILE_DELETED", "FILE_ERROR", "FILE_READY", "FILE_STATISTICS_AGGREGATED", "FILE_SYNC_LIMIT_REACHED", "MOVED_TO_COLD_STORAGE", "MOVED_TO_HOT_STORAGE", "ORGANIZATION_USER_DELETED", "RATE_LIMIT_ERROR", "REVOKE", "SPARSE_VECTOR_QUEUE_STATUS", "UPDATE", "WEBPAGE_ERROR", "WEBPAGE_READY", "WEBSCRAPE_URLS_READY"])
      # validator.allowable_values.each do |value|
      #   expect { instance.webhook_type = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "customer_id"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "timestamp"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "object"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
carbon_ruby_sdk-0.2.35 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.34 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.33 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.32 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.31 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.30 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.29 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.28 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.27 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.26 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.25 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.24 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.23 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.22 spec/models/sent_webhook_payload_spec.rb
carbon_ruby_sdk-0.2.21 spec/models/sent_webhook_payload_spec.rb