diff options
author | bronzdoc <lsagastume1990@gmail.com> | 2019-02-28 12:15:26 -0600 |
---|---|---|
committer | bronzdoc <lsagastume1990@gmail.com> | 2019-02-28 12:31:59 -0600 |
commit | d3d76255907d9905d3a3108255378103b1467044 (patch) | |
tree | fa6d92d0e8e0bc54d22804f4a9809ddcec8bda5a | |
parent | 981fa2ba69ca2199dc3676d83ec7c23453340c90 (diff) | |
download | bundler-modify_gem_build_warning_spec.tar.gz |
Add unavoidable warnings to test against buildmodify_gem_build_warning_spec
-rw-r--r-- | spec/quality_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index 8bdef33a79..0243550122 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -228,6 +228,10 @@ RSpec.describe "The library itself" do # there's no way around this warning last_command.stderr.sub!(/^YAML safe loading.*/, "") + last_command.stderr.sub!("WARNING: No cert chain found. Please consider signing your gem to improve security.", "") + last_command.stderr.sub!("See https://guides.rubygems.org/security for more information.", "") + last_command.stderr.sub!("WARNING: See http://guides.rubygems.org/specification-reference/ for help", "") + last_command.stderr.sub!("\n\n", "") expect(last_command.stderr).to be_empty, "bundler should build as a gem without warnings, but\n#{err}" ensure |