Sha256: 387dd7eefd8ecf56cfaf3af485159f7d691b9e3f69bd458dff970b4ccae72401

Contents?: true

Size: 1.59 KB

Versions: 6

Compression:

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

  describe 'test an instance of HasPushMarketingConsent' do
    it 'should create an instance of HasPushMarketingConsent' do
      expect(instance).to be_instance_of(KlaviyoAPI::HasPushMarketingConsent)
    end
  end
  describe 'test attribute "channel"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
    end
  end

  describe 'test attribute "can_receive_marketing"' do
    it 'should work' do
      # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
      # validator = Petstore::EnumTest::EnumAttributeValidator.new('Boolean', ["true"])
      # validator.allowable_values.each do |value|
      #   expect { instance.can_receive_marketing = value }.not_to raise_error
      # end
    end
  end

  describe 'test attribute "consent_status"' 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/has_push_marketing_consent_spec.rb
klaviyo-api-sdk-11.1.0 spec/models/has_push_marketing_consent_spec.rb
klaviyo-api-sdk-11.0.0 spec/models/has_push_marketing_consent_spec.rb
klaviyo-api-sdk-10.0.0 spec/models/has_push_marketing_consent_spec.rb
klaviyo-api-sdk-9.0.0 spec/models/has_push_marketing_consent_spec.rb
klaviyo-api-sdk-8.0.0 spec/models/has_push_marketing_consent_spec.rb