Sha256: fa8565e49e47f3f4e18bc8a0eaa000ede41484afe115956a1adb60d2c31e827f

Contents?: true

Size: 348 Bytes

Versions: 7

Compression:

Stored size: 348 Bytes

Contents

require 'helper'

class TestLicenseeProject < Minitest::Test

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
licensee-4.2.1 test/test_licensee_project.rb
licensee-4.2.0 test/test_licensee_project.rb
licensee-4.1.2 test/test_licensee_project.rb
licensee-4.1.1 test/test_licensee_project.rb
licensee-4.1.0 test/test_licensee_project.rb
licensee-4.0.1 test/test_licensee_project.rb
licensee-4.0.0 test/test_licensee_project.rb