test/test_ssl.rb in jruby-openssl-0.7.5.dev vs test/test_ssl.rb in jruby-openssl-0.7.5
- old
+ new
@@ -1,10 +1,10 @@
require 'openssl'
require 'test/unit'
require 'webrick/https'
require 'net/https'
require 'logger'
-require File.join(File.dirname(__FILE__), "openssl/utils.rb")
+require File.join(File.dirname(__FILE__), (RUBY_VERSION >= '1.9.0' ? '1.9' : '1.8'), "utils.rb")
class TestSSL < Test::Unit::TestCase
PORT = 17171
DIR = File.dirname(File.expand_path(__FILE__))