1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 04:40:09 +01:00

Revert "remove OSI appoval requirement"

This reverts commit 4b536ab4174a542dbfac7ee180d17349bf84d25d.
This commit is contained in:
Ben Balter 2015-08-22 12:36:56 -04:00
parent 4b536ab417
commit 2029405007

View File

@ -21,6 +21,14 @@ licenses.each do |license|
spdx = find_spdx(license["id"])
expect(spdx[1]["name"].gsub(/ only$/,"")).to eql(license["title"])
end
# CC0 and Unlicense are not OSI approved, but that's okay
unless license["id"] == "unlicense" || license["id"] == "cc0-1.0"
it "should be OSI approved" do
spdx = find_spdx(license["id"])
expect(spdx[1]["osiApproved"]).to eql(true)
end
end
end
end