Sha256: a3d81ed2927b0631395ea2bf8486b2e90720982156e96fd8ad7ee4392ecd58b7
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
require 'assert' require 'dk-pkg' module Dk::Pkg class UnitTests < Assert::Context desc "Dk::Pkg" setup do @module = Dk::Pkg end subject{ @module } should "know its param names" do assert_equal 'dk_pkg_manifest_path', MANIFEST_PATH_PARAM_NAME assert_equal 'dk_pkg_manifest_mode', MANIFEST_MODE_PARAM_NAME assert_equal 'dk_pkg_manifest_owner', MANIFEST_OWNER_PARAM_NAME assert_equal 'dk_pkg_installed_pkgs', INSTALLED_PKGS_PARAM_NAME end should "know its manifest separator" do assert_equal "\n", MANIFEST_SEPARATOR end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dk-pkg-0.1.0 | test/unit/dk-pkg_tests.rb |