mirror of https://github.com/licensee/licensee.git
Merge pull request #182 from willbar/resolve-build-failure
Resolve lint errors
This commit is contained in:
commit
029b31220d
|
@ -1,4 +1,5 @@
|
|||
# encoding: UTF-8
|
||||
|
||||
module Licensee
|
||||
module Matchers
|
||||
class Copyright
|
||||
|
|
|
@ -9,14 +9,14 @@ end
|
|||
|
||||
RSpec.describe Licensee::ContentHelper do
|
||||
let(:content) do
|
||||
<<-EOS.freeze
|
||||
The MIT License
|
||||
<<-EOS.freeze.gsub(/^\s*/, '')
|
||||
The MIT License
|
||||
|
||||
Copyright 2016 Ben Balter
|
||||
Copyright 2016 Ben Balter
|
||||
|
||||
The made
|
||||
up license.
|
||||
-----------
|
||||
The made
|
||||
up license.
|
||||
-----------
|
||||
EOS
|
||||
end
|
||||
subject { ContentHelperTestHelper.new(content) }
|
||||
|
|
|
@ -35,7 +35,7 @@ RSpec.describe Licensee::License do
|
|||
end
|
||||
|
||||
it "doesn't include hidden licenses" do
|
||||
expect(licenses).to all satisfy { |license| !license.hidden? }
|
||||
expect(licenses).to all(satisfy { |license| !license.hidden? })
|
||||
end
|
||||
|
||||
it 'includes featured licenses' do
|
||||
|
|
Loading…
Reference in New Issue