Sha256: 57d09b493ddc40559846822cdc12d66902f7fdc93110c5aa5054a303f22f6a47
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
licensee-8.5.0 | test/licensee/matchers/test_gemspec_matcher.rb |
licensee-8.4.0 | test/licensee/matchers/test_gemspec_matcher.rb |