Sha256: d8ccf73a6c931e8e75b8bc0b779994e2f80552024c9a512ebbde8b6f3f3900c2
Contents?: true
Size: 1.76 KB
Versions: 12
Compression:
Stored size: 1.76 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
12 entries across 12 versions & 1 rubygems