aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2016-01-03 16:49:19 +0900
committerKazuki Yamaguchi <k@rhe.jp>2016-01-03 16:49:19 +0900
commitdcef073d619b8ac27def9b3265603a59bb1107cb (patch)
tree4a7cc087ef02b1b29ab63a7571c88185ce613905
parent7b4297867c82e6e40f12be0d3d20f2ca12c8eed6 (diff)
downloadplum-dcef073d619b8ac27def9b3265603a59bb1107cb.tar.gz
test: use SimpleCov.formatters=
-rw-r--r--lib/plum/rack/listener.rb2
-rw-r--r--test/test_helper.rb2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/plum/rack/listener.rb b/lib/plum/rack/listener.rb
index bc29e5b..3ff6c4a 100644
--- a/lib/plum/rack/listener.rb
+++ b/lib/plum/rack/listener.rb
@@ -92,8 +92,6 @@ module Plum
ef.issuer_certificate = cert
cert.extensions = [
ef.create_extension("basicConstraints", "CA:TRUE", true),
- ef.create_extension("subjectKeyIdentifier", "hash"),
- ef.create_extension("authorityKeyIdentifier", "keyid:always,issuer:always")
]
cert.sign(key, OpenSSL::Digest::SHA256.new)
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 20f76ad..f67ba51 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -2,7 +2,7 @@ unless ENV["SKIP_COVERAGE"]
begin
require "simplecov"
require "codeclimate-test-reporter"
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
CodeClimate::TestReporter::Formatter
]