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.9.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.9.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.9.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.9.0 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.12 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.11 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.10 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.9 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.8 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.7 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.6 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.5 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.4 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.8.0 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.9 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.8 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.7.7 spec/netsuite/records/cash_sale_item_spec.rb