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.5.6 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.5 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.4 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.5.0 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.9 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.8 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.7 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.6 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.5 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.4 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.3 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.2 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.1 spec/netsuite/records/cash_sale_item_spec.rb
netsuite-0.4.0 spec/netsuite/records/cash_sale_item_spec.rb