diff options
Diffstat (limited to 'test/rubygems/test_bundled_ca.rb')
-rw-r--r-- | test/rubygems/test_bundled_ca.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb index f3da13b1b5..5ce2850518 100644 --- a/test/rubygems/test_bundled_ca.rb +++ b/test/rubygems/test_bundled_ca.rb @@ -17,7 +17,7 @@ if ENV["TRAVIS"] || ENV["TEST_SSL"] store = OpenSSL::X509::Store.new ssl_cert_glob = - File.expand_path '../../../lib/rubygems/ssl_certs/*.pem', THIS_FILE + File.expand_path '../../../lib/rubygems/ssl_certs/*/*.pem', THIS_FILE Dir[ssl_cert_glob].each do |ssl_cert| store.add_file ssl_cert @@ -55,5 +55,9 @@ if ENV["TRAVIS"] || ENV["TEST_SSL"] assert_https('rubygems.global.ssl.fastly.net') end + def test_accessing_new_index + assert_https('fastly.rubygems.org') + end + end end |