Sha256: de9ad2d9b6120f4a917de7b84deb7a88ea6aeb352c142183e51b1e3fc36d5bc4
Contents?: true
Size: 560 Bytes
Versions: 14
Compression:
Stored size: 560 Bytes
Contents
require 'spec_helper' describe EfoNelfo::V40::VA do describe "has aliases for various types" do it { EfoNelfo::V40::VA.new(type: 'A').alternative?.must_equal true } it { EfoNelfo::V40::VA.new(type: 'E').replacement?.must_equal true } it { EfoNelfo::V40::VA.new(type: 'V').alternative_id?.must_equal true } it { EfoNelfo::V40::VA.new(type: 'P').package_size?.must_equal true } end it "#nrf_id returns true if product_type is 4" do EfoNelfo::V40::VA.new(product_type: 4, product_number: '1234').nrf_id.must_equal '1234' end end
Version data entries
14 entries across 14 versions & 1 rubygems