Sha256: 334e94a72e27521de030f6a21b1514e9346295fe348ac72aab59b9d3a0d2d31e
Contents?: true
Size: 547 Bytes
Versions: 3
Compression:
Stored size: 547 Bytes
Contents
require 'helper' class TestLicenseeProject < Minitest::Test def setup @project = Licensee::Project.new fixture_path("licenses.git") end should "detect the license file" do assert_equal Licensee::LicenseFile, @project.license_file.class end should "detect the license" do assert_equal "mit", @project.license.key end should "detect an atypically cased license file" do project = Licensee::Project.new fixture_path("case-sensitive.git") assert_equal Licensee::LicenseFile, project.license_file.class end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
licensee-4.2.4 | test/test_licensee_project.rb |
licensee-4.2.3 | test/test_licensee_project.rb |
licensee-4.2.2 | test/test_licensee_project.rb |