=begin #CMS Performance API #Use these endpoints to get a time series view of your website's performance. 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::Performance::PublicPerformanceResponse # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PublicPerformanceResponse' do before do # run before each test @instance = Hubspot::Cms::Performance::PublicPerformanceResponse.new end after do # run after each test end describe 'test an instance of PublicPerformanceResponse' do it 'should create an instance of PublicPerformanceResponse' do expect(@instance).to be_instance_of(Hubspot::Cms::Performance::PublicPerformanceResponse) end end describe 'test attribute "data"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "domain"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "path"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "start_interval"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "end_interval"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "interval"' 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', ["ONE_MINUTE", "FIVE_MINUTES", "TEN_MINUTES", "FIFTEEN_MINUTES", "THIRTY_MINUTES", "ONE_HOUR", "FOUR_HOURS", "TWELVE_HOURS", "ONE_DAY", "ONE_WEEK"]) # validator.allowable_values.each do |value| # expect { @instance.interval = value }.not_to raise_error # end end end describe 'test attribute "period"' 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', ["ONE_MINUTE", "FIVE_MINUTES", "TEN_MINUTES", "FIFTEEN_MINUTES", "THIRTY_MINUTES", "ONE_HOUR", "FOUR_HOURS", "TWELVE_HOURS", "ONE_DAY", "ONE_WEEK"]) # validator.allowable_values.each do |value| # expect { @instance.period = value }.not_to raise_error # end end end end