Sha256: 8c84e87bc595dbf61698adca8620126393cfc9456dfc27329be0bc524a5fd266

Contents?: true

Size: 1.25 KB

Versions: 1

Compression:

Stored size: 1.25 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-12-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::MarketingSubscriptionParameters
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe KlaviyoAPI::MarketingSubscriptionParameters do
  let(:instance) { KlaviyoAPI::MarketingSubscriptionParameters.new }

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

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
klaviyo-api-sdk-5.1.0 spec/models/marketing_subscription_parameters_spec.rb