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

Version Path
netsuite-0.8.12 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.11 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.10 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.9 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.8 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.7 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.6 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.5 spec/netsuite/records/customer_subscriptions_list_spec.rb
netsuite-0.8.4 spec/netsuite/records/customer_subscriptions_list_spec.rb