test/test_licensee_license.rb in licensee-4.4.1 vs test/test_licensee_license.rb in licensee-4.4.2
- old
+ new
@@ -44,6 +44,10 @@
should "return all licenses" do
assert_equal Array, Licensee::License.all.class
assert Licensee::License.all.size > 3
end
+
+ should "strip leading newlines from the license" do
+ assert_equal "T", @license.body[0]
+ end
end