test/test_licensee_license.rb in licensee-5.0.0b7 vs test/test_licensee_license.rb in licensee-5.0.0
- old
+ new
@@ -130,16 +130,16 @@
end
describe "class methods" do
should "know license names" do
assert_equal Array, Licensee::License.keys.class
- assert_equal 20, Licensee::License.keys.size
+ assert_equal 23, Licensee::License.keys.size
end
should "load the licenses" do
assert_equal Array, Licensee::License.all.class
assert_equal 15, Licensee::License.all.size
- assert_equal 20, Licensee::License.all(:hidden => true).size
+ assert_equal 23, Licensee::License.all(:hidden => true).size
assert_equal Licensee::License, Licensee::License.all.first.class
end
should "find a license" do
assert_equal "mit", Licensee::License.find("mit").key