=begin #Subskribe API #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.41 =end require 'spec_helper' require 'json' require 'date' # Unit tests for SubskribeDevClient::CustomFieldDefinitionJson # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'CustomFieldDefinitionJson' do before do # run before each test @instance = SubskribeDevClient::CustomFieldDefinitionJson.new end after do # run after each test end describe 'test an instance of CustomFieldDefinitionJson' do it 'should create an instance of CustomFieldDefinitionJson' do expect(@instance).to be_instance_of(SubskribeDevClient::CustomFieldDefinitionJson) end end describe 'test attribute "id"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "parent_object_type"' 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', ["ACCOUNT", "ORDER", "ORDER_ITEM", "PLAN", "CHARGE", "INVOICE", "SALES_ROOM", "SUBSCRIPTION_ITEM"]) # validator.allowable_values.each do |value| # expect { @instance.parent_object_type = value }.not_to raise_error # end end end describe 'test attribute "field_type"' 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', ["STRING", "PICKLIST", "MULTISELECT_PICKLIST"]) # validator.allowable_values.each do |value| # expect { @instance.field_type = value }.not_to raise_error # end end end describe 'test attribute "field_name"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "field_label"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "options"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "required"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "created_on"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "updated_on"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "default_value"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end