Sha256: 00d79c41e937be4e14c610b0045d78ade315cc2d01b96cefccda5e5d6d1728de
Contents?: true
Size: 449 Bytes
Versions: 9
Compression:
Stored size: 449 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::CustomerSubscriptionsList do let(:list) { NetSuite::Records::CustomerSubscriptionsList.new } it 'has a subscriptions attribute' do expect(list.subscriptions).to be_kind_of(Array) end describe '#to_record' do it 'can represent itself as a SOAP record' do record = { 'listRel:subscriptions' => [] } expect(list.to_record).to eql(record) end end end
Version data entries
9 entries across 9 versions & 1 rubygems