aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pkcs12.rb
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-06-03 13:47:54 -0400
committerZachary Scott <e@zzak.io>2015-06-03 13:47:54 -0400
commit8f464e97bde27610cc0529e225099c6c15b2317e (patch)
tree0f7601a4eec83029c3f9935d67d8c960efc3ad5d /test/test_pkcs12.rb
parente4034b74a1bd92c05114bc8330e7ca400c8284f6 (diff)
downloadruby-openssl-8f464e97bde27610cc0529e225099c6c15b2317e.tar.gz
Upstream ruby/ruby@ae042f2 from r50727
Diffstat (limited to 'test/test_pkcs12.rb')
-rw-r--r--test/test_pkcs12.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_pkcs12.rb b/test/test_pkcs12.rb
index 4e379041..c44cee00 100644
--- a/test/test_pkcs12.rb
+++ b/test/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",