test/test_licensee_vendor.rb in licensee-2.0.0 vs test/test_licensee_vendor.rb in licensee-3.0.0

- old
+ new

@@ -6,12 +6,26 @@ licenses.each do |license| verify_license_file(license) end end - should "detect each vendored license" do + should "detect each vendored license when modified" do licenses = Dir["#{Licensee::Licenses.base}/*"].shuffle licenses.each do |license| verify_license_file(license, true) + end + end + + should "detect each vendored license with different line lengths" do + licenses = Dir["#{Licensee::Licenses.base}/*"].shuffle + licenses.each do |license| + verify_license_file(license, false, 50) + end + end + + should "detect each vendored license with different line lengths when modified" do + licenses = Dir["#{Licensee::Licenses.base}/*"].shuffle + licenses.each do |license| + verify_license_file(license, true, 50) end end end