Sha256: e9fc01ccc0df37d426a6b5d9875b90b22c8c7a4baf4391910736c53f36a06e61
Contents?: true
Size: 1.07 KB
Versions: 60
Compression:
Stored size: 1.07 KB
Contents
require 'spec_helper' describe NetSuite::Records::Subsidiary do let(:subsidiary) { described_class.new } it 'has all the right fields' do [ :name, :is_inactive, :show_subsidiary_name, :url, :tran_prefix, :attention, :addressee, :addr_phone, :addr1, :addr2, :addr3, :city, :state, :zip, :country, :addr_text, :override, :ship_addr, :return_addr, :return_address1, :return_address2, :return_city, :return_state, :return_country, :return_zip, :legal_name, :is_elimination, :allow_payroll, :email, :fax, :edition, :federal_id_number, :addr_language, :non_consol, :consol, :ship_address1, :ship_address2, :ship_city, :ship_state, :ship_country, :ship_zip, :state1_tax_number, :ssn_or_tin, :inbound_email ].each do |field| expect(subsidiary).to have_field(field) end end it 'has all the right record refs' do [ :check_layout, :inter_co_account, :parent, :logo, :page_logo, :fiscal_calendar, :tax_fiscal_calendar, :currency ].each do |record_ref| expect(subsidiary).to have_record_ref(record_ref) end end end
Version data entries
60 entries across 60 versions & 1 rubygems