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.0.16 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.15 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.14 spec/netsuite/records/customer_addressbook_list_spec.rb
netsuite-0.0.13 spec/netsuite/records/customer_addressbook_list_spec.rb