Sha256: 0752c2b0a61da42c76af6c65c16400595d2e5d5ea8d16090ec30341ab100241f

Contents?: true

Size: 749 Bytes

Versions: 5

Compression:

Stored size: 749 Bytes

Contents

require 'helper'

class TestLicenseeVendor < Minitest::Test
  Dir["#{Licensee::Licenses.base}/*"].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 license =~ /no-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 license =~ /no-license\.txt$/
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
licensee-4.9.0 test/test_licensee_vendor.rb
licensee-4.8.0 test/test_licensee_vendor.rb
licensee-4.7.4 test/test_licensee_vendor.rb
licensee-4.7.3 test/test_licensee_vendor.rb
licensee-4.7.2 test/test_licensee_vendor.rb