summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_package_tar_output.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_package_tar_output.rb')
-rw-r--r--test/rubygems/test_gem_package_tar_output.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_package_tar_output.rb b/test/rubygems/test_gem_package_tar_output.rb
index 7458a749dd..77f31852f9 100644
--- a/test/rubygems/test_gem_package_tar_output.rb
+++ b/test/rubygems/test_gem_package_tar_output.rb
@@ -55,6 +55,9 @@ class TestGemPackageTarOutput < Gem::Package::TarTestCase
if defined? OpenSSL then
def test_self_open_signed
+ @private_key = File.expand_path('test/rubygems/private_key.pem', @@project_dir)
+ @public_cert = File.expand_path('test/rubygems/public_cert.pem', @@project_dir)
+
signer = Gem::Security::Signer.new @private_key, [@public_cert]
open @file, 'wb' do |tar_io|