1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

satisfy rubocop 0.48.1

This commit is contained in:
Mike Linksvayer 2017-04-08 22:40:27 -07:00 committed by GitHub
parent d171cf3c22
commit aa33c8071b

View File

@ -5,7 +5,7 @@ require 'spec_helper'
describe 'shown licenses' do 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[
agpl-3.0 agpl-3.0
apache-2.0 apache-2.0
bsd-2-clause bsd-2-clause
@ -18,7 +18,7 @@ describe 'shown licenses' do
mit mit
mpl-2.0 mpl-2.0
unlicense unlicense
).freeze ].freeze
it 'has the expected number of shown licenses' do it 'has the expected number of shown licenses' do
expect(shown_licenses.count).to eql(12) expect(shown_licenses.count).to eql(12)