Sha256: 86c5cd014a9e4729ddbee3fd4202170faae6dbae3a592ca2a33722dab191770c
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-08-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::SubscriptionChannels # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe KlaviyoAPI::SubscriptionChannels do let(:instance) { KlaviyoAPI::SubscriptionChannels.new } describe 'test an instance of SubscriptionChannels' do it 'should create an instance of SubscriptionChannels' do expect(instance).to be_instance_of(KlaviyoAPI::SubscriptionChannels) end end describe 'test attribute "email"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["MARKETING"]) # validator.allowable_values.each do |value| # expect { instance.email = value }.not_to raise_error # end end end describe 'test attribute "sms"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["MARKETING"]) # validator.allowable_values.each do |value| # expect { instance.sms = value }.not_to raise_error # end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
klaviyo-api-sdk-4.1.0 | spec/models/subscription_channels_spec.rb |