Sha256: f467c700c96d27f781aa274324d8480f608b5462b1f485a83ba7857b98a7842a
Contents?: true
Size: 613 Bytes
Versions: 60
Compression:
Stored size: 613 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::JournalEntryLineList do let(:list) { NetSuite::Records::JournalEntryLineList.new } it 'has a custom_fields attribute' do expect(list.lines).to 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' }] } expect(list.to_record).to eql(record) end end end
Version data entries
60 entries across 60 versions & 1 rubygems