Sha256: d7f0225e2d3971fb2941e2d755daf1809491e5715937bbd118adcb492e81eeb8

Contents?: true

Size: 906 Bytes

Versions: 15

Compression:

Stored size: 906 Bytes

Contents

require 'helper'

class TestLicenseeVendor < Minitest::Test
  should "detect each vendored license" do
    licenses = Dir["#{Licensee::Licenses.base}/*"].shuffle
    licenses.each do |license|
      verify_license_file(license)
    end
  end

  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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
licensee-4.3.3 test/test_licensee_vendor.rb
licensee-4.3.2 test/test_licensee_vendor.rb
licensee-4.3.1 test/test_licensee_vendor.rb
licensee-4.3.0 test/test_licensee_vendor.rb
licensee-4.2.4 test/test_licensee_vendor.rb
licensee-4.2.3 test/test_licensee_vendor.rb
licensee-4.2.2 test/test_licensee_vendor.rb
licensee-4.2.1 test/test_licensee_vendor.rb
licensee-4.2.0 test/test_licensee_vendor.rb
licensee-4.1.2 test/test_licensee_vendor.rb
licensee-4.1.1 test/test_licensee_vendor.rb
licensee-4.1.0 test/test_licensee_vendor.rb
licensee-4.0.1 test/test_licensee_vendor.rb
licensee-4.0.0 test/test_licensee_vendor.rb
licensee-3.0.0 test/test_licensee_vendor.rb