Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix pem test count number after RG update
  • Loading branch information
mkristian committed Feb 1, 2015
1 parent 424fa72 commit 1732714
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_adding_pem_to_x509store.rb
Expand Up @@ -6,9 +6,9 @@ def test_adding_pem
OpenSSL.debug = true
# mimic what rubygems/request#add_rubygems_trusted_certs does
# to find the pem certificates
p base = $LOAD_PATH.detect { |p| p =~ /ruby\/shared/ }
base = $LOAD_PATH.detect { |p| p =~ /ruby\/shared/ }
pems = Dir[ File.join(base, 'rubygems/ssl_certs/*pem') ]
assert_equal( 9, pems.size )
assert_equal( 7, pems.size )
pems.each do |pem|
store = OpenSSL::X509::Store.new
cert = OpenSSL::X509::Certificate.new(File.read(pem))
Expand Down

0 comments on commit 1732714

Please sign in to comment.