Sha256: ac394dba743fce244eedc6c6c3b63f142643f8f47beb2111794a3f67863a2cd7

Contents?: true

Size: 328 Bytes

Versions: 1

Compression:

Stored size: 328 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
licensee-3.0.0 test/test_licensee_license.rb