diff options
-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 |