diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-03 17:48:40 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-11-03 17:48:40 +0900 |
commit | b29910e76398a5fb542cdafdf134ab886b37c809 (patch) | |
tree | a01d95489282f0f4130486d77802d4d524d49b39 /test | |
parent | be694f1c01ce8d28b50b11ee703bc28f3a61b6a9 (diff) | |
download | plum-b29910e76398a5fb542cdafdf134ab886b37c809.tar.gz |
add docs for Plum::Client
Diffstat (limited to 'test')
-rw-r--r-- | test/plum/server/test_http_connection.rb (renamed from test/plum/test_http_connection.rb) | 0 | ||||
-rw-r--r-- | test/plum/server/test_https_connection.rb (renamed from test/plum/test_https_connection.rb) | 4 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/plum/test_http_connection.rb b/test/plum/server/test_http_connection.rb index bd586a5..bd586a5 100644 --- a/test/plum/test_http_connection.rb +++ b/test/plum/server/test_http_connection.rb diff --git a/test/plum/test_https_connection.rb b/test/plum/server/test_https_connection.rb index 52a1cf5..5251e20 100644 --- a/test/plum/test_https_connection.rb +++ b/test/plum/server/test_https_connection.rb @@ -40,8 +40,8 @@ class HTTPSConnectionNegotiationTest < Minitest::Test ctx = OpenSSL::SSL::SSLContext.new ctx.alpn_select_cb = -> protocols { "h2" } - ctx.cert = OpenSSL::X509::Certificate.new File.read(File.expand_path("../../server.crt", __FILE__)) - ctx.key = OpenSSL::PKey::RSA.new File.read(File.expand_path("../../server.key", __FILE__)) + ctx.cert = OpenSSL::X509::Certificate.new File.read(File.expand_path("../../../server.crt", __FILE__)) + ctx.key = OpenSSL::PKey::RSA.new File.read(File.expand_path("../../../server.key", __FILE__)) tcp_server = TCPServer.new("127.0.0.1", LISTEN_PORT) ssl_server = OpenSSL::SSL::SSLServer.new(tcp_server, ctx) |