Sha256: 1f4c212a3601ba4d222930247a9e843dcf31b00bd68141e2de6595135f16a059

Contents?: true

Size: 1.58 KB

Versions: 1

Compression:

Stored size: 1.58 KB

Contents

=begin
#Klaviyo API

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

The version of the OpenAPI document: 2023-10-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::CouponCodeUpdateQueryResourceObjectAttributes
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe KlaviyoAPI::CouponCodeUpdateQueryResourceObjectAttributes do
  let(:instance) { KlaviyoAPI::CouponCodeUpdateQueryResourceObjectAttributes.new }

  describe 'test an instance of CouponCodeUpdateQueryResourceObjectAttributes' do
    it 'should create an instance of CouponCodeUpdateQueryResourceObjectAttributes' do
      expect(instance).to be_instance_of(KlaviyoAPI::CouponCodeUpdateQueryResourceObjectAttributes)
    end
  end
  describe 'test attribute "status"' 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', ["ASSIGNED_TO_PROFILE", "DELETING", "PROCESSING", "UNASSIGNED", "VERSION_NOT_ACTIVE"])
      # validator.allowable_values.each do |value|
      #   expect { instance.status = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "expires_at"' 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

1 entries across 1 versions & 1 rubygems

Version Path
klaviyo-api-sdk-5.0.0 spec/models/coupon_code_update_query_resource_object_attributes_spec.rb