Sha256: 2301719db1be8ec86cfc30c9f927d58a666b5ba26c6a7767799c667f438823ee
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 Bytes
Contents
require 'helper' class TestLicenseeGemspecMatchers < Minitest::Test should "detect its own license" do root = File.expand_path "../", File.dirname(__FILE__) project = Licensee::GitProject.new(root, detect_packages: true) matcher = Licensee::Matchers::Gemspec.new(project.package_file) assert_equal "mit", matcher.send(:license_property) assert_equal "mit", matcher.match.key end end
Version data entries
4 entries across 4 versions & 1 rubygems