=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::SalesModuleDTO # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'SalesModuleDTO' do before do # run before each test @instance = TripletexRubyClient::SalesModuleDTO.new end after do # run after each test end describe 'test an instance of SalesModuleDTO' do it 'should create an instance of SalesModuleDTO' do expect(@instance).to be_instance_of(TripletexRubyClient::SalesModuleDTO) 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 # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["MAMUT", "MAMUT_WITH_WAGE", "AGRO_LICENCE", "AGRO_CLIENT", "AGRO_DOCUMENT_CENTER", "AGRO_INVOICE", "AGRO_INVOICE_MIGRATED", "AGRO_WAGE", "NO1TS", "NO1TS_TRAVELREPORT", "NO1TS_ACCOUNTING", "BASIS", "SMART", "KOMPLETT", "VVS", "ELECTRO", "ACCOUNTING_OFFICE", "SMART_WAGE", "SMART_TIME_TRACKING", "SMART_PROJECT", "OCR", "ELECTRONIC_VOUCHERS", "UP_TO_500_VOUCHERS", "UP_TO_1000_VOUCHERS", "UP_TO_2000_VOUCHERS", "UP_TO_3500_VOUCHERS", "UP_TO_5000_VOUCHERS", "UP_TO_10000_VOUCHERS", "UNLIMITED_VOUCHERS", "LOGISTICS", "MIKRO", "AUTOPLUS_MINI", "AUTOPLUS_MEDIUM", "AUTOPLUS_STOR", "INTEGRATION_PARTNER"]) # validator.allowable_values.each do |value| # expect { @instance.name = value }.not_to raise_error # end end end describe 'test attribute "cost_start_date"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end