Sha256: 817fab5354e1abd69d3a02c05af486263ea48a41b83792b497a62af01c47b912

Contents?: true

Size: 2 KB

Versions: 25

Compression:

Stored size: 2 KB

Contents

=begin
#CRM cards

#Allows an app to extend the CRM UI by surfacing custom cards in the sidebar of record pages. These cards are defined up-front as part of app configuration, then populated by external data fetch requests when the record page is accessed by a user.

The version of the OpenAPI document: v3

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1

=end

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

# Unit tests for Hubspot::Crm::Extensions::Cards::ObjectToken
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'ObjectToken' do
  before do
    # run before each test
    @instance = Hubspot::Crm::Extensions::Cards::ObjectToken.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of ObjectToken' do
    it 'should create an instance of ObjectToken' do
      expect(@instance).to be_instance_of(Hubspot::Crm::Extensions::Cards::ObjectToken)
    end
  end
  describe 'test attribute "name"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

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

  describe 'test attribute "data_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', ["BOOLEAN", "CURRENCY", "DATE", "DATETIME", "EMAIL", "LINK", "NUMERIC", "STRING", "STATUS"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.data_type = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "value"' 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

25 entries across 25 versions & 1 rubygems

Version Path
hubspot-api-client-14.5.2 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.5.1 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.5.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.4.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.3.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.2.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.1.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-14.0.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-13.2.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-13.1.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-13.0.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-12.0.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-11.2.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-11.1.1 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-11.1.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-10.1.1 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-10.1.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-10.0.1 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-10.0.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb
hubspot-api-client-9.6.0 spec/codegen/crm/extensions/cards/models/object_token_spec.rb