Merge pull request #182 from willbar/resolve-build-failure

Resolve lint errors
This commit is contained in:
Ben Balter 2017-03-31 14:23:24 -04:00 committed by GitHub
commit 029b31220d
3 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,5 @@
# encoding: UTF-8
module Licensee
module Matchers
class Copyright

View File

@ -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) }

View File

@ -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