Sha256: c416eb72342dc1d0419bb929f3ecab0e0cce5d36202641b8800d2c394f0542d1

Contents?: true

Size: 1.64 KB

Versions: 24

Compression:

Stored size: 1.64 KB

Contents

=begin
#Custom Workflow Actions

#Create custom workflow actions

The version of the OpenAPI document: v4

Generated by: https://openapi-generator.tech
OpenAPI Generator version: 4.3.1

=end

require 'spec_helper'
require 'json'
require 'date'

# Unit tests for Hubspot::Automation::Actions::SingleFieldDependency
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'SingleFieldDependency' do
  before do
    # run before each test
    @instance = Hubspot::Automation::Actions::SingleFieldDependency.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of SingleFieldDependency' do
    it 'should create an instance of SingleFieldDependency' do
      expect(@instance).to be_instance_of(Hubspot::Automation::Actions::SingleFieldDependency)
    end
  end
  describe 'test attribute "dependency_type"' 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', ["SINGLE_FIELD"])
      # validator.allowable_values.each do |value|
      #   expect { @instance.dependency_type = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "dependent_field_names"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "controlling_field_name"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
hubspot-api-client-9.5.1 spec/codegen/automation/actions/models/single_field_dependency_spec.rb
hubspot-api-client-9.5.0 spec/codegen/automation/actions/models/single_field_dependency_spec.rb
hubspot-api-client-9.4.0 spec/codegen/automation/actions/models/single_field_dependency_spec.rb
hubspot-api-client-9.3.0 spec/codegen/automation/actions/models/single_field_dependency_spec.rb