Sha256: 791bfdd90ee596fff52676e97ab0a04abe751c777eab3f5fcf5c08d6d35d9986
Contents?: true
Size: 524 Bytes
Versions: 4
Compression:
Stored size: 524 Bytes
Contents
require 'helper' class TestLicenseeLicenses < Minitest::Test should "know license names" do assert_equal Array, Licensee::Licenses.names.class assert_equal 16, Licensee::Licenses.names.size end should "load the licenses" do assert_equal Array, Licensee::Licenses.list.class assert_equal 16, Licensee::Licenses.list.size assert_equal Licensee::License, Licensee::Licenses.list.first.class end should "find a license" do assert_equal "MIT", Licensee::Licenses.find("MIT").name end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
licensee-0.1.0 | test/test_licensee_licenses.rb |
licensee-0.0.3 | test/test_licensee_licenses.rb |
licensee-0.0.2 | test/test_licensee_licenses.rb |
licensee-0.0.1 | test/test_licensee_licenses.rb |