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

Fix linter warning

This commit is contained in:
ObserverOfTime 2020-10-03 12:01:45 +03:00
parent 1ad3d204d5
commit e655e40c30
No known key found for this signature in database
GPG Key ID: 8A2DEA1DBAEBCA9E

View File

@ -2,10 +2,9 @@
require 'spec_helper'
describe 'shown licenses' do
# Whitelist of popular licenses that are shown (non-hidden)
# Note: most new licenses that are added should be hidden by default
SHOWN_LICENSES = %w[
# Whitelist of popular licenses that are shown (non-hidden)
# Note: most new licenses that are added should be hidden by default
SHOWN_LICENSES = %w[
agpl-3.0
apache-2.0
bsd-2-clause
@ -19,8 +18,9 @@ describe 'shown licenses' do
mit
mpl-2.0
unlicense
].freeze
].freeze
describe '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(shown_licenses.count)