aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_cipher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/openssl/test_cipher.rb')
-rw-r--r--test/openssl/test_cipher.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/openssl/test_cipher.rb b/test/openssl/test_cipher.rb
index 89c176f4de..dae069e43c 100644
--- a/test/openssl/test_cipher.rb
+++ b/test/openssl/test_cipher.rb
@@ -143,9 +143,9 @@ class OpenSSL::TestCipher < Test::Unit::TestCase
def test_authenticated
cipher = OpenSSL::Cipher.new('aes-128-gcm')
- assert(cipher.authenticated?)
+ assert_predicate(cipher, :authenticated?)
cipher = OpenSSL::Cipher.new('aes-128-cbc')
- refute(cipher.authenticated?)
+ assert_not_predicate(cipher, :authenticated?)
end
def test_aes_gcm