bundle-new/spec/other/ssl_cert_spec.rb

11 lines
354 B
Ruby
Raw Normal View History

2019-10-06 15:45:34 +00:00
require 'spec_helper'
require 'bundler/ssl_certs/certificate_manager'
describe "SSL Certificates", :if => (ENV['RGV'] == "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
end