Sha256: c54dc8b86f99444dad07a8fa260f98bb0e982be58b006e07309a0014fada3420

Contents?: true

Size: 359 Bytes

Versions: 6

Compression:

Stored size: 359 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.length > 0
    assert @license.body =~ /MIT/
  end

  should "read the license meta" do
    assert_equal "MIT License", @license.meta["title"]
  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
licensee-0.2.0 test/test_licensee_license.rb
licensee-0.1.1 test/test_licensee_license.rb
licensee-0.1.0 test/test_licensee_license.rb
licensee-0.0.3 test/test_licensee_license.rb
licensee-0.0.2 test/test_licensee_license.rb
licensee-0.0.1 test/test_licensee_license.rb