=begin #Talon.One API #The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. ### Where is the API? The API is available at the same hostname as these docs. For example, if you are reading this page at `https://mycompany.talon.one/docs/api/`, the URL for the [updateCustomerProfile][] operation is `https://mycompany.talon.one/v1/customer_profiles/id` [updateCustomerProfile]: #operation--v1-customer_profiles--integrationId--put OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.7 =end require 'spec_helper' require 'json' require 'date' # Unit tests for TalonOne::LimitConfig # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'LimitConfig' do before do # run before each test @instance = TalonOne::LimitConfig.new end after do # run after each test end describe 'test an instance of LimitConfig' do it 'should create an instance of LimitConfig' do expect(@instance).to be_instance_of(TalonOne::LimitConfig) end end describe 'test attribute "action"' 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', ["redeemCoupon", "redeemReferral", "setDiscount", "createCoupon"]) # validator.allowable_values.each do |value| # expect { @instance.action = value }.not_to raise_error # end end end describe 'test attribute "limit"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "entities"' 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', ["Coupon", "Referral", "Profile", "Identifier"]) # validator.allowable_values.each do |value| # expect { @instance.entities = value }.not_to raise_error # end end end end