summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/ssl_cert_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/other/ssl_cert_spec.rb b/spec/other/ssl_cert_spec.rb
new file mode 100644
index 0000000000..ac9283a218
--- /dev/null
+++ b/spec/other/ssl_cert_spec.rb
@@ -0,0 +1,10 @@
+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