Sha256: 49962eeebcb8c2b1cf568a055c454f0fa5fca8963c5d3fa58114d128206aae69
Contents?: true
Size: 372 Bytes
Versions: 2
Compression:
Stored size: 372 Bytes
Contents
require 'helper' class TestLicensee < Minitest::Test should "know the licenses" do assert_equal Array, Licensee.licenses.class assert_equal 16, Licensee.licenses.size assert_equal Licensee::License, Licensee.licenses.first.class end should "detect a project's license" do assert_equal "mit", Licensee.license(fixture_path("simple")).name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
licensee-0.2.0 | test/test_licensee.rb |
licensee-0.1.1 | test/test_licensee.rb |