Sha256: c3bd66ecbc3a3e9cd5f08918f9fb9885096653345987c849402e82d2ba67e969

Contents?: true

Size: 420 Bytes

Versions: 57

Compression:

Stored size: 420 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::CashRefundItem do
  let(:item) { NetSuite::Records::CashRefundItem.new }

  it 'has all the right fields' do
    [
      :amount
    ].each do |field|
      expect(item).to have_field(field)
    end
  end

  it 'has all the right record refs' do
    [
      :item, :klass
    ].each do |record_ref|
      expect(item).to have_record_ref(record_ref)
    end
  end

end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
netsuite-0.5.1 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.5.0 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.9 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.8 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.7 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.6 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.5 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.4 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.3 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.2 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.1 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.4.0 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.3.3 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.3.2 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.3.1 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.3.0 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.2.6 spec/netsuite/records/cash_refund_item_spec.rb