test/test_licensee_license.rb in licensee-4.2.3 vs test/test_licensee_license.rb in licensee-4.2.4
- old
+ new
@@ -27,10 +27,12 @@
assert_equal "mit", @license.key
end
should "know if the license is featured" do
assert @license.featured?
+ assert_equal TrueClass, @license.featured?.class
refute Licensee::License.new("cc0").featured?
+ assert_equal FalseClass, Licensee::License.new("cc0").featured?.class
end
should "parse the license parts" do
assert_equal 3, @license.send(:parts).size
end