Sha256: 05064a3930e122df34a55e3cb1c7ceaea374a4b0d91d1795c42d8c6cc852755c
Contents?: true
Size: 1.3 KB
Versions: 6
Compression:
Stored size: 1.3 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::Timeframe # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe KlaviyoAPI::Timeframe do let(:instance) { KlaviyoAPI::Timeframe.new } describe 'test an instance of Timeframe' do it 'should create an instance of Timeframe' do expect(instance).to be_instance_of(KlaviyoAPI::Timeframe) end end describe 'test attribute "key"' 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', ["last_12_months", "last_30_days", "last_365_days", "last_3_months", "last_7_days", "last_90_days", "last_month", "last_week", "last_year", "this_month", "this_week", "this_year", "today", "yesterday"]) # validator.allowable_values.each do |value| # expect { instance.key = value }.not_to raise_error # end end end end
Version data entries
6 entries across 6 versions & 1 rubygems