require 'helper' class TestLicenseeLicense < Minitest::Test def setup @license = Licensee::License.new "MIT" end should "read the license body" do assert @license.body assert @license.text =~ /MIT/ end should "read the license meta" do assert_equal "MIT License", @license.meta["title"] end end