=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::TripletexAccount2 # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) # Please update as you see appropriate describe 'TripletexAccount2' do before do # run before each test @instance = TripletexRubyClient::TripletexAccount2.new end after do # run after each test end describe 'test an instance of TripletexAccount2' do it 'should create an instance of TripletexAccount2' do expect(@instance).to be_instance_of(TripletexRubyClient::TripletexAccount2) end end describe 'test attribute "company"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "administrator"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "account_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', ["TEST", "PAYING"]) # validator.allowable_values.each do |value| # expect { @instance.account_type = value }.not_to raise_error # end end end describe 'test attribute "modules"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "administrator_password"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "send_emails"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "auto_validate_user_login"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "create_administrator_api_token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "create_company_owned_api_token"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "may_create_tripletex_accounts"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "number_of_vouchers"' 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', ["INTERVAL_0_100", "INTERVAL_101_500", "INTERVAL_0_500", "INTERVAL_501_1000", "INTERVAL_1001_2000", "INTERVAL_2001_3500", "INTERVAL_3501_5000", "INTERVAL_5001_10000", "INTERVAL_UNLIMITED"]) # validator.allowable_values.each do |value| # expect { @instance.number_of_vouchers = value }.not_to raise_error # end end end describe 'test attribute "chart_of_accounts_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', ["DEFAULT", "MAMUT_STD_PAYROLL", "MAMUT_NARF_PAYROLL", "AGRO_FORRETNING_PAYROLL", "AGRO_LANDBRUK_PAYROLL", "AGRO_FISKE_PAYROLL", "AGRO_FORSOKSRING_PAYROLL", "AGRO_IDRETTSLAG_PAYROLL", "AGRO_FORENING_PAYROLL"]) # validator.allowable_values.each do |value| # expect { @instance.chart_of_accounts_type = value }.not_to raise_error # end end end describe 'test attribute "vat_status_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', ["VAT_REGISTERED", "VAT_NOT_REGISTERED", "VAT_APPLICANT"]) # validator.allowable_values.each do |value| # expect { @instance.vat_status_type = value }.not_to raise_error # end end end describe 'test attribute "bank_account"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "post_account"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "number_of_prepaid_users"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "customer_category_id2"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "marketing_consent"' 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', ["DEFAULT", "GRANTED", "DENIED"]) # validator.allowable_values.each do |value| # expect { @instance.marketing_consent = value }.not_to raise_error # end end end describe 'test attribute "invoice_start_date"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "accounting_office"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "auditor"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end describe 'test attribute "reseller"' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end