test/test_licensee.rb in licensee-3.0.0 vs test/test_licensee.rb in licensee-4.0.0
- old
+ new
@@ -6,10 +6,10 @@
assert_equal 15, Licensee.licenses.size
assert_equal Licensee::License, Licensee.licenses.first.class
end
should "detect a project's license" do
- assert_equal "mit", Licensee.license(fixture_path("licenses.git")).name
+ assert_equal "mit", Licensee.license(fixture_path("licenses.git")).key
end
should "diff a license" do
Licensee.diff(fixture_path("licenses.git"))
end