Sha256: f79e7bb766ffdcf07e8aad2fe1887e931d1a90cc05f2c2afd107610eadedf818

Contents?: true

Size: 1.68 KB

Versions: 3

Compression:

Stored size: 1.68 KB

Contents

=begin
#Contacts

#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::Contacts::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::Contacts::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::Contacts::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", "BETWEEN", "IN", "NOT_IN", "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

3 entries across 3 versions & 1 rubygems

Version Path
hubspot-api-client-11.2.0 spec/codegen/crm/contacts/models/filter_spec.rb
hubspot-api-client-11.1.1 spec/codegen/crm/contacts/models/filter_spec.rb
hubspot-api-client-11.1.0 spec/codegen/crm/contacts/models/filter_spec.rb