1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

don't attempt heavily templated NCSA and PostgreSQL for now

This commit is contained in:
Mike Linksvayer 2017-11-25 20:57:24 -08:00
parent 1cca51a128
commit 2c9fa4907e

View File

@ -72,6 +72,7 @@ describe 'license meta' do
content = open(example_url).read content = open(example_url).read
detected = Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license detected = Licensee::ProjectFiles::LicenseFile.new(content, 'LICENSE').license
it example_url do it example_url do
skip 'NCSA and PostgreSQL licenses hard to detect' if %(ncsa postgresql).include?(license['slug'])
expect(detected.key).to eq(license['slug']) expect(detected.key).to eq(license['slug'])
end end
end end