mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Fix linter warning
This commit is contained in:
parent
1ad3d204d5
commit
e655e40c30
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
require 'spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe 'shown licenses' do
|
|
||||||
# Whitelist of popular licenses that are shown (non-hidden)
|
# Whitelist of popular licenses that are shown (non-hidden)
|
||||||
# Note: most new licenses that are added should be hidden by default
|
# Note: most new licenses that are added should be hidden by default
|
||||||
SHOWN_LICENSES = %w[
|
SHOWN_LICENSES = %w[
|
||||||
@ -21,6 +20,7 @@ describe 'shown licenses' do
|
|||||||
unlicense
|
unlicense
|
||||||
].freeze
|
].freeze
|
||||||
|
|
||||||
|
describe 'shown licenses' do
|
||||||
it 'has the expected number of shown licenses' do
|
it 'has the expected number of shown licenses' do
|
||||||
expect(shown_licenses.count).to eql(13)
|
expect(shown_licenses.count).to eql(13)
|
||||||
expect(SHOWN_LICENSES.count).to eql(shown_licenses.count)
|
expect(SHOWN_LICENSES.count).to eql(shown_licenses.count)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user