Sha256: 1b81f6f830578d0056027bd4643b9aec6cd28b0f1efef35ac57a23a022b58ccb
Contents?: true
Size: 488 Bytes
Versions: 11
Compression:
Stored size: 488 Bytes
Contents
require "assert" require "ggem/gem" class GGem::Gem class BaseTests < Assert::Context desc "GGem::Gem" setup do @gem = GGem::Gem.new(TMP_PATH, 'a-gem') end subject { @gem } should have_readers :root_path, :name should have_imeths :save!, :path, :name=, :module_name, :ruby_name should "know its root path and path" do assert_equal TMP_PATH, subject.root_path assert_equal File.join(TMP_PATH, 'a-gem'), subject.path end end end
Version data entries
11 entries across 11 versions & 1 rubygems