Sha256: 6e5ef880926e0ba9ee3c1d3065a05afbb8e0180458ea1bc56c6a71025cc0974e
Contents?: true
Size: 1.62 KB
Versions: 19
Compression:
Stored size: 1.62 KB
Contents
=begin #CMS Site Search #Use these endpoints for searching content on your HubSpot hosted CMS website(s). 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::Cms::SiteSearch::IndexedData # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'IndexedData' do before do # run before each test @instance = Hubspot::Cms::SiteSearch::IndexedData.new end after do # run after each test end describe 'test an instance of IndexedData' do it 'should create an instance of IndexedData' do expect(@instance).to be_instance_of(Hubspot::Cms::SiteSearch::IndexedData) end end describe 'test attribute "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 "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', ["LANDING_PAGE", "BLOG_POST", "SITE_PAGE", "KNOWLEDGE_ARTICLE", "LISTING_PAGE"]) # validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error # end end end describe 'test attribute "fields"' 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
19 entries across 19 versions & 1 rubygems