Sha256: ca0f26a0257f864ffee8b855538184e00e7153e93d99a053318ef9d4dc61aa1d

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 Bytes

Contents

require 'helper'

class TestLicenseeVendor < Minitest::Test
  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 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

4 entries across 4 versions & 1 rubygems

Version Path
licensee-5.0.0b4 test/test_licensee_vendor.rb
licensee-5.0.0b3 test/test_licensee_vendor.rb
licensee-5.0.0b2 test/test_licensee_vendor.rb
licensee-5.0.0b1 test/test_licensee_vendor.rb