summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-11-11 17:30:32 -0800
committerAndre Arko <andre@arko.net>2014-11-11 20:19:46 -0800
commit012a388d9d4289f60df1d85da0c5a64944b3b7dd (patch)
tree742e223122bf59a65a667233601cf9316d0427fe /spec/spec_helper.rb
parent62c9267e6bdfc627fb229883f30f514824581584 (diff)
downloadbundler-012a388d9d4289f60df1d85da0c5a64944b3b7dd.tar.gz
Update SSL certificates, again.
Why did openssl give me a certificate that doesn’t work to connect? :( Also remove the intermediate certificates that aren’t actually needed to validate a connection to the server. Finally, include tests to make sure that Bundler can connect to each of the important Rubygems hosts using only the vendored certificates (h/t @luislavena for an example test).
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index bef35a1aa9..774f10cecb 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -76,6 +76,12 @@ RSpec.configure do |config|
config.filter_run_excluding :rubygems => "2.2"
end
+ if ENV['RGV'] == "master"
+ config.filter_run :rubygems_master => true
+ else
+ config.filter_run_excluding :rubygems_master => true
+ end
+
config.filter_run :focused => true unless ENV['CI']
config.run_all_when_everything_filtered = true
config.alias_example_to :fit, :focused => true