aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_pkcs12.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_pkcs12.rb')
-rw-r--r--test/openssl/test_pkcs12.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/openssl/test_pkcs12.rb b/test/openssl/test_pkcs12.rb
index 4e37904169..c44cee00ed 100644
--- a/test/openssl/test_pkcs12.rb
+++ b/test/openssl/test_pkcs12.rb
@@ -113,7 +113,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es=
end
def test_create_with_bad_nid
- assert_raises(ArgumentError) do
+ assert_raise(ArgumentError) do
OpenSSL::PKCS12.create(
"omg",
"hello",
@@ -137,7 +137,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es=
2048
)
- assert_raises(TypeError) do
+ assert_raise(TypeError) do
OpenSSL::PKCS12.create(
"omg",
"hello",
@@ -164,7 +164,7 @@ Li8JsX5yIiuVYaBg/6ha3tOg4TCa5K/3r3tVliRZ2Es=
2048
)
- assert_raises(TypeError) do
+ assert_raise(TypeError) do
OpenSSL::PKCS12.create(
"omg",
"hello",