=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 SubskribeSandboxClient::DocumentTemplateJson # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'DocumentTemplateJson' do before do # run before each test @instance = SubskribeSandboxClient::DocumentTemplateJson.new end after do # run after each test end describe 'test an instance of DocumentTemplateJson' do it 'should create an instance of DocumentTemplateJson' do expect(@instance).to be_instance_of(SubskribeSandboxClient::DocumentTemplateJson) 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 "entity_ids"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "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 "section_uuid"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "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', ["ORDER", "INVOICE", "CREDIT_MEMO", "EMAIL", "UPSELL_EARLY_RENEWAL", "DUNNING", "CANCEL_AND_RESTRUCTURE"]) # validator.allowable_values.each do |value| # expect { @instance.type = value }.not_to raise_error # end end end describe 'test attribute "description"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "content"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "status"' 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', ["DRAFT", "ACTIVE", "DEPRECATED"]) # validator.allowable_values.each do |value| # expect { @instance.status = value }.not_to raise_error # end end end end