Sha256: 07ae6b6049a5866f9de878a5df94dd62c3e80b8bfd7d8eace2239461ae9f5435

Contents?: true

Size: 1.78 KB

Versions: 25

Compression:

Stored size: 1.78 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::DisplayOption
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'DisplayOption' do
  before do
    # run before each test
    @instance = Hubspot::Crm::Extensions::Cards::DisplayOption.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of DisplayOption' do
    it 'should create an instance of DisplayOption' do
      expect(@instance).to be_instance_of(Hubspot::Crm::Extensions::Cards::DisplayOption)
    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 "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', ["DEFAULT", "SUCCESS", "WARNING", "DANGER", "INFO"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.type = value }.not_to raise_error
      # end
    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/display_option_spec.rb
hubspot-api-client-14.5.1 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.5.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.4.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.3.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.2.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.1.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-14.0.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-13.2.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-13.1.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-13.0.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-12.0.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-11.2.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-11.1.1 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-11.1.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-10.1.1 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-10.1.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-10.0.1 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-10.0.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb
hubspot-api-client-9.6.0 spec/codegen/crm/extensions/cards/models/display_option_spec.rb