summaryrefslogtreecommitdiff
path: root/spec/other
diff options
context:
space:
mode:
authorAshish Dixit <tundal45@gmail.com>2013-12-09 20:34:08 -0600
committerAndre Arko <andre@arko.net>2013-12-18 22:30:12 -0800
commit53dc2e239a539c07ade5a197564076c6513a3684 (patch)
treee4fe7d80a672fad36d4ad23dcdc9a561bb80e5b3 /spec/other
parent51374c98da6d7137fec13dd4bc85fc9f443cd83a (diff)
downloadbundler-53dc2e239a539c07ade5a197564076c6513a3684.tar.gz
Add a rake task to update SSL Certificates.
Added a rake task under rubygems namespace that updates the SSL certificates in bundler if they meet either of the following criteria: a) The filenames do not match that of the certificates in Rubygems master b) Rubygems contains an updated certificate
Diffstat (limited to 'spec/other')
-rw-r--r--spec/other/ssl_cert_spec.rb8
1 files changed, 8 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..14b5af2062
--- /dev/null
+++ b/spec/other/ssl_cert_spec.rb
@@ -0,0 +1,8 @@
+require_relative '../../lib/bundler/ssl_certs/certificate_manager'
+
+describe "SSL Certificates" do
+ it "are up to date with Rubygems" do
+ manager = CertificateManager.new
+ expect(manager).to be_up_to_date
+ end
+end