Sha256: 0cf68e8dc46645d64a2a617ca34be8c59be9200ed69dca5c2fcc98ff977a2dc5

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

require 'spec_helper'

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

  it 'has all the right fields' do
    [
      :amount, :gross_amt, :rate, :quantity, :is_taxable, :order_line, :line, :description
    ].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

5 entries across 5 versions & 1 rubygems

Version Path
netsuite-0.9.3 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.9.2 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.9.1 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.9.0 spec/netsuite/records/cash_refund_item_spec.rb
netsuite-0.8.12 spec/netsuite/records/cash_refund_item_spec.rb