Sha256: 258958dd9e823694a1a355608026cdc79c6d9b5c158e2b393b82b1cc17738a15

Contents?: true

Size: 434 Bytes

Versions: 44

Compression:

Stored size: 434 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::CustomerAddressbookList do
  let(:list) { NetSuite::Records::CustomerAddressbookList.new }

  it 'has an addressbooks attribute' do
    list.addressbooks.should be_kind_of(Array)
  end

  describe '#to_record' do
    it 'can represent itself as a SOAP record' do
      record = {
        'listRel:addressbook' => []
      }
      list.to_record.should eql(record)
    end
  end

end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
netsuite-0.2.6 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.5 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.4 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.3 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.2 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.1 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.2.0 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.1.0 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.50 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.49 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.48 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.47 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.45 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.44 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.43 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.42 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.41 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.40 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.39 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.38 spec/netsuite/records/customer_addressbook_list_spec.rb