Sha256: 98e5ad7956d57bb5caeb55079e8d9ac86bbf036505cf9eb6c3c01bc1e9154b49
Contents?: true
Size: 441 Bytes
Versions: 8
Compression:
Stored size: 441 Bytes
Contents
require 'assert' require 'romo-av' module Romo::Av class UnitTests < Assert::Context desc "Romo::Av" subject{ Romo::Av } should have_imeths :gem_assets_path should "know its assets path based on the gem's path" do spec = Gem::Specification.find_by_name('romo-av', Romo::Av::VERSION) expected = File.join(spec.gem_dir, 'assets') assert_equal expected, subject.gem_assets_path.to_s end end end
Version data entries
8 entries across 8 versions & 1 rubygems