Sha256: de4733b0cabbae8b9e41580f023e9b33e1f13e1a74801b97f71ee4d10246f689
Contents?: true
Size: 814 Bytes
Versions: 8
Compression:
Stored size: 814 Bytes
Contents
require 'helper' class TestLicenseeVendor < Minitest::Test SKIP = %[wtfpl no-license] Licensee::License.send(:license_files).shuffle.each do |license| should "detect the #{license} license" do verify_license_file(license) end context "when modified" do should "detect the #{license} license" do verify_license_file(license, true) unless SKIP.include?(File.basename(license, ".txt")) end end context "different line lengths" do should "detect the #{license} license" do verify_license_file(license, false, 50) end context "when modified" do should "detect the #{license} license" do verify_license_file(license, true, 50) unless SKIP.include?(File.basename(license, ".txt")) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems