Sha256: aa8a59fec60b0998c1c02cda1e64c4c639936d26d8c4d13202af0adf5bdfa7f0

Contents?: true

Size: 343 Bytes

Versions: 2

Compression:

Stored size: 343 Bytes

Contents

require 'helper'

class TestLicenseeProject < Minitest::Test

  def setup
    @project = Licensee::Project.new fixture_path("simple")
  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.name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
licensee-0.2.0 test/test_licensee_project.rb
licensee-0.1.1 test/test_licensee_project.rb