Sha256: 0900d3262b2cba8c38ca6435f3d734b0f15bec418c1516bdf78bed68f7aea89e
Contents?: true
Size: 1.58 KB
Versions: 2
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-02-22 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
klaviyo-api-sdk-2.0.0 | spec/models/subscription_channels_spec.rb |
klaviyo-api-sdk-1.2.0 | spec/models/subscription_channels_spec.rb |