Sha256: 4af62d4bdb66c51e2b15d3a6b549cd25a2cf394b58314b774413f7f3175e6a11
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
require 'spec_helper' describe NetSuite::Records::SubscriptionsList do let(:list) { NetSuite::Records::SubscriptionsList.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
4 entries across 4 versions & 1 rubygems