diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-19 02:37:39 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-19 02:37:39 +0000 |
commit | fc446ac016c20d70db05f49ef89683a4c4df1757 (patch) | |
tree | 03e327b53fdb28edfe4657e4a887c90fe7d3c729 /test/net/imap/test_imap.rb | |
parent | 1029d32c7f01b8f58ae67924a405b4d9d656092a (diff) | |
download | ruby-fc446ac016c20d70db05f49ef89683a4c4df1757.tar.gz |
Move certificates to test/net/fixtures/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/net/imap/test_imap.rb')
-rw-r--r-- | test/net/imap/test_imap.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/net/imap/test_imap.rb b/test/net/imap/test_imap.rb index cdd9323c10..35e5ed8982 100644 --- a/test/net/imap/test_imap.rb +++ b/test/net/imap/test_imap.rb @@ -4,9 +4,9 @@ require "net/imap" require "test/unit" class IMAPTest < Test::Unit::TestCase - CA_FILE = File.expand_path("cacert.pem", File.dirname(__FILE__)) - SERVER_KEY = File.expand_path("server.key", File.dirname(__FILE__)) - SERVER_CERT = File.expand_path("server.crt", File.dirname(__FILE__)) + CA_FILE = File.expand_path("../fixtures/cacert.pem", __dir__) + SERVER_KEY = File.expand_path("../fixtures/server.key", __dir__) + SERVER_CERT = File.expand_path("../fixtures/server.crt", __dir__) SERVER_ADDR = "127.0.0.1" |