test/test_licensee_license.rb in licensee-8.3.0 vs test/test_licensee_license.rb in licensee-8.3.1
- old
+ new
@@ -104,10 +104,14 @@
should "support 'other' licenses" do
license = Licensee::License.new('other')
assert_equal nil, license.content
assert_equal 'Other', license.name
+ assert license.hidden?
refute license.featured?
+ Licensee::License::YAML_DEFAULTS.each do |key, value|
+ assert_equal value, license.meta[key]
+ end
end
should 'know the license hash' do
assert_equal '750260c322080bab4c19fd55eb78bc73e1ae8f11', @license.hash
end