Sha256: d25235cf77a4fe06dd507d1a52098741a84467981db1d50284d7d0d3057ff6b4

Contents?: true

Size: 1.64 KB

Versions: 6

Compression:

Stored size: 1.64 KB

Contents

=begin
#Klaviyo API

#The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.

The version of the OpenAPI document: 2024-07-15
Contact: developers@klaviyo.com
Generated by: https://openapi-generator.tech
OpenAPI Generator version: 6.2.1

=end

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

# Unit tests for KlaviyoAPI::StringOperatorFilter
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe KlaviyoAPI::StringOperatorFilter do
  let(:instance) { KlaviyoAPI::StringOperatorFilter.new }

  describe 'test an instance of StringOperatorFilter' do
    it 'should create an instance of StringOperatorFilter' do
      expect(instance).to be_instance_of(KlaviyoAPI::StringOperatorFilter)
    end
  end
  describe 'test attribute "type"' 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', ["contains", "ends-with", "equals", "not-contains", "not-ends-with", "not-equals", "not-starts-with", "starts-with"])
      # validator.allowable_values.each do |value|
      #   expect { instance.operator = value }.not_to raise_error
      # end
    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

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
klaviyo-api-sdk-12.0.0 spec/models/string_operator_filter_spec.rb
klaviyo-api-sdk-11.1.0 spec/models/string_operator_filter_spec.rb
klaviyo-api-sdk-11.0.0 spec/models/string_operator_filter_spec.rb
klaviyo-api-sdk-10.0.0 spec/models/string_operator_filter_spec.rb
klaviyo-api-sdk-9.0.0 spec/models/string_operator_filter_spec.rb
klaviyo-api-sdk-8.0.0 spec/models/string_operator_filter_spec.rb