Sha256: c033e2bc1c18f8325a8f689cccc93ccc2ef203b10b8c2bf6193ebc62f56f17bc
Contents?: true
Size: 595 Bytes
Versions: 7
Compression:
Stored size: 595 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::CustomerRefundDepositList do let(:list) { NetSuite::Records::CustomerRefundDepositList.new } it 'has a deposits attribute' do list.deposits.should be_kind_of(Array) end describe '#to_record' do before do list.deposits << NetSuite::Records::CustomerRefundDeposit.new(:apply => false) end it 'can represent itself as a SOAP record' do record = { 'tranCust:customerRefundDeposit' => [{ 'tranCust:apply' => false }] } list.to_record.should eql(record) end end end
Version data entries
7 entries across 7 versions & 1 rubygems