Sha256: 6c6d4606eed538aa85be728cc879dccd3fa023d13a3dc2e421b221116f0957c6
Contents?: true
Size: 1.39 KB
Versions: 13
Compression:
Stored size: 1.39 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::Angle # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Angle' do before do # run before each test @instance = Hubspot::Cms::Blogs::BlogPosts::Angle.new end after do # run after each test end describe 'test an instance of Angle' do it 'should create an instance of Angle' do expect(@instance).to be_instance_of(Hubspot::Cms::Blogs::BlogPosts::Angle) end end describe 'test attribute "value"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "units"' 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', ["deg", "grad", "rad", "turn"]) # validator.allowable_values.each do |value| # expect { @instance.units = value }.not_to raise_error # end end end end
Version data entries
13 entries across 13 versions & 1 rubygems