Sha256: 246fd87f874a2b7b401e494a67d6fb1c57ff5c9b3a26a9a8f4deabd4da1bcc14

Contents?: true

Size: 614 Bytes

Versions: 11

Compression:

Stored size: 614 Bytes

Contents

require 'spec_helper'
require 'bundler/ssl_certs/certificate_manager'

describe "SSL Certificates", :rubygems_master do
  it "are up to date with Rubygems" do
    rubygems = File.expand_path("../../../tmp/rubygems", __FILE__)
    manager = Bundler::SSLCerts::CertificateManager.new(rubygems)
    expect(manager).to be_up_to_date
  end

  hosts = %w(
    d2chzxaqi4y7f8.cloudfront.net
    rubygems.org
    s3.amazonaws.com
    staging.rubygems.org
  )

  hosts.each do |host|
    it "can securely connect to #{host}", :realworld do
      Bundler::SSLCerts::CertificateManager.new.connect_to(host)
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bundler-1.7.15 spec/other/ssl_cert_spec.rb
bundler-1.7.14 spec/other/ssl_cert_spec.rb
bundler-1.7.13 spec/other/ssl_cert_spec.rb
bundler-1.7.12 spec/other/ssl_cert_spec.rb
bundler-1.7.11 spec/other/ssl_cert_spec.rb
bundler-1.7.10 spec/other/ssl_cert_spec.rb
bundler-1.7.9 spec/other/ssl_cert_spec.rb
bundler-1.7.8 spec/other/ssl_cert_spec.rb
bundler-1.7.7 spec/other/ssl_cert_spec.rb
bundler-1.7.6 spec/other/ssl_cert_spec.rb
bundler-1.6.9 spec/other/ssl_cert_spec.rb