Sha256: 7d68b04af6d8beab4ebbdb1e0f0f9ca71ea489caa5adedb397c06f0edb9e822d
Contents?: true
Size: 605 Bytes
Versions: 17
Compression:
Stored size: 605 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::JournalEntryLineList do let(:list) { NetSuite::Records::JournalEntryLineList.new } it 'has a custom_fields attribute' do list.lines.should be_kind_of(Array) end describe '#to_record' do before do list.lines << NetSuite::Records::JournalEntryLine.new(:memo => 'This is a memo') end it 'can represent itself as a SOAP record' do record = { 'tranGeneral:line' => [{ 'tranGeneral:memo' => 'This is a memo' }] } list.to_record.should eql(record) end end end
Version data entries
17 entries across 17 versions & 1 rubygems