diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2014-11-16 15:00:43 -0800 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2014-11-24 11:03:49 -0800 |
commit | a7e115ddfe20f60bef099dd249137926359240c6 (patch) | |
tree | 1bbb184e85c86988118adeda099787cb88c7cd9b /spec/quality_spec.rb | |
parent | 3b772e7e46d0dc913444d03606fbae92b3a60ab4 (diff) | |
download | bundler-a7e115ddfe20f60bef099dd249137926359240c6.tar.gz |
[QualitySpec] Don't take into account warnings from vendored libraries
Diffstat (limited to 'spec/quality_spec.rb')
-rw-r--r-- | spec/quality_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index 9216cc011c..f5a052f50b 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -96,7 +96,7 @@ describe "The library itself" do end end - expect(@err).to eq("") + expect(@err.split("\n").reject { |f| f =~ %r{lib/bundler/vendor} }).to eq([]) expect(@out).to eq("") end end |