Skip to content

Test that only open licenses are included per CONTRIBUTING - #345

Merged
mlinksva merged 2 commits into
gh-pagesfrom
open-licenses-test
Feb 9, 2016
Merged

mlinksva merged 2 commits into
gh-pagesfrom
open-licenses-test

Conversation

@mlinksva

@mlinksva mlinksva commented Feb 8, 2016

Copy link
Copy Markdown
Contributor

Comment thread spec/license_spec.rb Outdated
end

context "minimum permissions" do
permissions = license["permitted"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll be honest, I don't fully get it, but stylistically, for tests, this should be let(:permissions) { license["permitted"] }, similar to the id line, a few lines above. It's a Ruby/Rspec thing and has something to do with scopes or cleanup, IIRC.

@benbalter

Copy link
Copy Markdown
Contributor

Really good idea. Two minor style notes, not to be too pedantic, but 👍.

@benbalter benbalter mentioned this pull request Feb 8, 2016
mlinksva added a commit that referenced this pull request Feb 9, 2016
Test that only open licenses are included per CONTRIBUTING
@mlinksva
mlinksva merged commit e7f2065 into gh-pages Feb 9, 2016
@mlinksva
mlinksva deleted the open-licenses-test branch February 9, 2016 17:06
mlinksva added a commit that referenced this pull request Feb 28, 2016
should have been removed as part of
#345
correct that oversight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MIT and BSD also allow private use

2 participants