From d67f761a9ed065bc4e59ab3424b50441a3e6678b Mon Sep 17 00:00:00 2001 From: Arun Agrawal Date: Fri, 22 Mar 2013 15:37:33 +0100 Subject: [PATCH] Skipping test for OpenSSL::PKCS5 JRuby --- actionpack/test/dispatch/cookies_test.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/actionpack/test/dispatch/cookies_test.rb b/actionpack/test/dispatch/cookies_test.rb index 892b89b12e..c532e0b8cc 100644 --- a/actionpack/test/dispatch/cookies_test.rb +++ b/actionpack/test/dispatch/cookies_test.rb @@ -1,4 +1,12 @@ require 'abstract_unit' + +begin + require 'openssl' + OpenSSL::PKCS5 +rescue LoadError, NameError + $stderr.puts "Skipping KeyGenerator test: broken OpenSSL install" +else + # FIXME remove DummyKeyGenerator and this require in 4.1 require 'active_support/key_generator' require 'active_support/message_verifier' @@ -724,3 +732,5 @@ class CookiesTest < ActionController::TestCase end end end + +end