mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
style feedback from @benbalter
This commit is contained in:
parent
ade0beec17
commit
14896c3fc8
@ -29,16 +29,19 @@ describe "licenses" do
|
|||||||
end
|
end
|
||||||
|
|
||||||
context "minimum permissions" do
|
context "minimum permissions" do
|
||||||
permissions = license["permitted"]
|
let(:permissions) { license["permitted"] }
|
||||||
it "should allow commercial use" do
|
it "should allow commercial use" do
|
||||||
expect(permissions).to include("commercial-use")
|
expect(permissions).to include("commercial-use")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should allow modification" do
|
it "should allow modification" do
|
||||||
expect(permissions).to include("modifications")
|
expect(permissions).to include("modifications")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should allow distribution" do
|
it "should allow distribution" do
|
||||||
expect(permissions).to include("distribution")
|
expect(permissions).to include("distribution")
|
||||||
end
|
end
|
||||||
|
|
||||||
it "should allow private use" do
|
it "should allow private use" do
|
||||||
expect(permissions).to include("private-use")
|
expect(permissions).to include("private-use")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user