Sha256: e068d8c06a4e9293502b3ef0d0f0a3a49c8fcdb43efe857430d21d974e93c4ce
Contents?: true
Size: 868 Bytes
Versions: 9
Compression:
Stored size: 868 Bytes
Contents
require 'helper' class TestLicenseeVendor < Minitest::Test SKIP = %(wtfpl no-license).freeze 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 unless SKIP.include?(File.basename(license, '.txt')) verify_license_file(license, true) end 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 unless SKIP.include?(File.basename(license, '.txt')) verify_license_file(license, true, 50) end end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems