=begin #Tripletex API OpenAPI spec version: 2.69.5 Generated by: https://github.com/swagger-api/swagger-codegen.git Swagger Codegen version: 2.4.24 =end require 'spec_helper' require 'json' require 'date' # Unit tests for TripletexRubyClient::UserTemplateDefaultDTO # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'UserTemplateDefaultDTO' do before do # run before each test @instance = TripletexRubyClient::UserTemplateDefaultDTO.new end after do # run after each test end describe 'test an instance of UserTemplateDefaultDTO' do it 'should create an instance of UserTemplateDefaultDTO' do expect(@instance).to be_instance_of(TripletexRubyClient::UserTemplateDefaultDTO) 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 "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 "template"' 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', ["SIMPLE", "FANCY", "PAY_ME_PAYMENT_FOCUS"]) # validator.allowable_values.each do |value| # expect { @instance.template = value }.not_to raise_error # end end end describe 'test attribute "colors"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "fields"' 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', ["AMOUNT_TO_PAY_MAJOR", "AMOUNT_TO_PAY_MINOR", "INVOICE_DATE", "DUE_DATE", "INVOICE_NUMBER", "CUSTOMER_NUMBER", "OUR_REFERENCE", "THEIR_REFERENCE", "ACCOUNT", "KID", "ORDER_LINE_SUMMARY_NET", "ORDER_LINE_SUMMARY_VAT", "ORDER_LINE_SUMMARY_TOTAL", "PROJECT_NAME", "OUR_CONTACT", "THEIR_CONTACT", "DELIVERY_DATE", "DELIVERY_ADDRESS", "DELIVERY_TOTAL_WEIGHT", "SENDER_NAME", "SENDER_ADDRESS_LINE_1", "SENDER_ADDRESS_LINE_2", "SENDER_ZIP_CODE", "SENDER_AREA", "SENDER_ORG_NUMBER", "SENDER_PHONE", "SENDER_EMAIL", "SENDER_ZIP_AND_CITY", "RECIPIENT_NAME", "RECIPIENT_ADDRESS_LINE_1", "RECIPIENT_ADDRESS_LINE_2", "RECIPIENT_ZIP_CODE", "RECIPIENT_AREA", "RECIPIENT_ORG_NUMBER", "RECIPIENT_PHONE", "RECIPIENT_EMAIL", "RECIPIENT_ZIP_AND_CITY", "OL_PRODUCT_NUMBER", "OL_DESCRIPTION", "OL_QUANTITY", "OL_ITEM_COST", "OL_VAT", "OL_NET_SUM", "OL_DISCOUNT", "OL_SURCHARGE"]) # validator.allowable_values.each do |value| # expect { @instance.fields = value }.not_to raise_error # end end end describe 'test attribute "comments"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "images"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end