Sha256: 6f03558c9e5c050a6c8d866df9491a0ada28e0cdd39d2fb066740a1381fe1fa2
Contents?: true
Size: 1.43 KB
Versions: 6
Compression:
Stored size: 1.43 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::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 describe 'test attribute "consented_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
6 entries across 6 versions & 1 rubygems