Sha256: 1cb83c36fb9abdfa87bee6f7f87db60f021726c242b24e3fb7e5a03c498ec071

Contents?: true

Size: 416 Bytes

Versions: 57

Compression:

Stored size: 416 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::CashSaleItem do
  let(:item) { NetSuite::Records::CashSaleItem.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.7.6 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.5 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.4 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.0 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.9 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.8 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.7 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.6 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.5 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.4 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.6.0 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.9 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.8 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.7 spec/netsuite/records/cash_sale_item_spec.rb