comply with new rubocop

This commit is contained in:
Mike Linksvayer 2018-06-14 13:30:03 -07:00
parent f5f01b6cc2
commit 7166a9cf3b
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ module Licensee
# Returns the human-readable license name
def name
title ? title : key.capitalize
title || spdx_id
end
def name_without_version

View File

@ -25,7 +25,7 @@ RSpec.describe Licensee::ContentHelper do
This license provided 'as is'. Please respect the contributors' wishes when
implementing the license's "software".
-----------
LICENSE
LICENSE
end
subject { ContentHelperTestHelper.new(content) }
let(:mit) { Licensee::License.find('mit') }

View File

@ -201,7 +201,7 @@ RSpec.describe Licensee::License do
end
it 'uses the default name when none exists' do
expect(other.name).to eql('Other')
expect(other.name).to eql('NOASSERTION')
end
it 'expoeses the nickname' do