Sha256: 1a8651c4757740a77726c66b128154e4590a58967054200cdf062b9dde2bf5aa
Contents?: true
Size: 1.63 KB
Versions: 6
Compression:
Stored size: 1.63 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", "DOCUMENT", "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
6 entries across 6 versions & 1 rubygems