Sha256: bddbcbd623844165462e8987bafb3bdc372ede20cfff559e39ab720cc6dd3b28
Contents?: true
Size: 461 Bytes
Versions: 10
Compression:
Stored size: 461 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("licenses.git")).key end should "diff a license" do Licensee.diff(fixture_path("licenses.git")) end end
Version data entries
10 entries across 10 versions & 1 rubygems