Sha256: bfca14cb884df1c0366cb923bd4553b96229c2f8ebe573d855a4b37aba54baf3

Contents?: true

Size: 499 Bytes

Versions: 28

Compression:

Stored size: 499 Bytes

Contents

require 'spec_helper'

describe NetSuite::Records::GiftCertRedemption do
  let(:redemption) { NetSuite::Records::GiftCertRedemption.new }

  it 'has all the right fields' do
    [
      :auth_code_amt_remaining, :auth_code_applied, :gift_cert_available
    ].each do |field|
      expect(redemption).to have_field(field)
    end
  end

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

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
netsuite-0.9.3 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.9.2 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.9.1 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.9.0 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.12 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.11 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.10 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.9 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.8 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.7 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.6 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.5 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.4 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.3 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.2 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.1 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.8.0 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.7.9 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.7.8 spec/netsuite/records/gift_cert_redemption_spec.rb
netsuite-0.7.7 spec/netsuite/records/gift_cert_redemption_spec.rb