Sha256: 4d5aa799bfadff6b8d8d9a9edb21f4578cf2d870c1b57195eba3620bf469434c
Contents?: true
Size: 372 Bytes
Versions: 4
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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
licensee-0.1.0 | test/test_licensee.rb |
licensee-0.0.3 | test/test_licensee.rb |
licensee-0.0.2 | test/test_licensee.rb |
licensee-0.0.1 | test/test_licensee.rb |