Sha256: 2ebbeb7de93c332b5eb882fa9f4e48d5e169a6290ed8a5abc2f7d5ccaaf9d4b1

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require_relative 'test_helper'

class UomTest < Skr::TestCase


    def test_combining
        uom = Uom.new
        uom.size = 1
        uom.code = 'BOX'
        assert_equal 'BOX', uom.combined_uom
        uom.size = 10
        assert_equal 'BOX/10', uom.combined_uom
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stockor-core-0.2 test/uom_test.rb