diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-18 05:11:55 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-18 05:11:55 +0000 |
commit | f20ad4889d5c7af44581373d25fd326ce796c4b3 (patch) | |
tree | b7bf99329ed8c29768f2502d3bd418e57be32268 /test/rubygems/test_gem_security_signer.rb | |
parent | 513345607da396f33b862dc2a48135e8a14bad99 (diff) | |
download | ruby-f20ad4889d5c7af44581373d25fd326ce796c4b3.tar.gz |
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems
HEAD(2c6d256). It contains to update vendored Molinillo to 0.5.0.
https://github.com/rubygems/rubygems/pull/1638
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_security_signer.rb')
-rw-r--r-- | test/rubygems/test_gem_security_signer.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_security_signer.rb b/test/rubygems/test_gem_security_signer.rb index fe161762e5..685a13949e 100644 --- a/test/rubygems/test_gem_security_signer.rb +++ b/test/rubygems/test_gem_security_signer.rb @@ -205,5 +205,13 @@ c7NM7KZZjj7G++SXjYTEI1PHSA7aFQ/i/+qSUvx+Pg== end end + def test_sign_no_certs + signer = Gem::Security::Signer.new ALTERNATE_KEY, [] + + assert_raises Gem::Security::Exception do + signer.sign 'hello' + end + end + end if defined?(OpenSSL::SSL) |