Sha256: 001618f883488a2da8147f05be5bd4486d0f6b7e0cf493b830c77d4bbf26df67
Contents?: true
Size: 1.66 KB
Versions: 10
Compression:
Stored size: 1.66 KB
Contents
=begin #Products #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) 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::Crm::Products::Filter # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Filter' do before do # run before each test @instance = Hubspot::Crm::Products::Filter.new end after do # run after each test end describe 'test an instance of Filter' do it 'should create an instance of Filter' do expect(@instance).to be_instance_of(Hubspot::Crm::Products::Filter) 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 "property_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "operator"' 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', ["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"]) # validator.allowable_values.each do |value| # expect { @instance.operator = value }.not_to raise_error # end end end end
Version data entries
10 entries across 10 versions & 1 rubygems