Sha256: 0a3563c4f44153693ed9ed81a5d9992f0fb4198447a0f05120d0413d041f03db

Contents?: true

Size: 1.77 KB

Versions: 13

Compression:

Stored size: 1.77 KB

Contents

=begin
#Blog Post endpoints

#\"Use these endpoints for interacting with Blog Posts, Blog Authors, and Blog Tags\"

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::Blogs::BlogPosts::BackgroundImage
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'BackgroundImage' do
  before do
    # run before each test
    @instance = Hubspot::Cms::Blogs::BlogPosts::BackgroundImage.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of BackgroundImage' do
    it 'should create an instance of BackgroundImage' do
      expect(@instance).to be_instance_of(Hubspot::Cms::Blogs::BlogPosts::BackgroundImage)
    end
  end
  describe 'test attribute "image_url"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

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

  describe 'test attribute "background_position"' 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', ["TOP_LEFT", "TOP_CENTER", "TOP_RIGHT", "MIDDLE_LEFT", "MIDDLE_CENTER", "MIDDLE_RIGHT", "BOTTOM_LEFT", "BOTTOM_CENTER", "BOTTOM_RIGHT"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.background_position = value }.not_to raise_error
      # end
    end
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hubspot-api-client-11.2.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-11.1.1 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-11.1.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-10.1.1 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-10.1.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-10.0.1 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-10.0.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.6.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.5.1 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.5.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.4.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.3.0 spec/codegen/cms/blogs/blog-posts/models/background_image_spec.rb
hubspot-api-client-9.2.1 spec/cms/blogs/blog-posts/models/background_image_spec.rb