Sha256: 0b7eec88349b73bb8b7441adc423212ad62352a996c87a1abe61362270e183b8
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
require_relative 'test_helper' class SkuTranTest < Skr::TestCase def test_origin ia = skr_inventory_adjustments(:first) assert ia.mark_applied, "failed to mark as applied" st = ia.lines.first.sku_tran assert st, "SkuTran wasn't created" assert_match( /^IA/, st.origin_description ) end # def test_eq_qty # st = SkuTran.new( qty: 8 ) # assert_equal 8, st.ea_qty # st = SkuTran.new( uom: Skr::Uom.new( size: 10 ), qty: 8 ) # assert_equal 80, st.ea_qty # end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stockor-core-0.2 | test/sku_tran_test.rb |