aboutsummaryrefslogtreecommitdiffstats
path: root/test/openssl/test_cipher.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 07:45:58 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-02-19 07:45:58 +0000
commit311b7154839b91c87ee40908ac6d3f5c330d7b11 (patch)
tree5a751c1b132d593c10fc74b657471364136a35f1 /test/openssl/test_cipher.rb
parent6286ff6301f94a475702d905cb722d3a4c7c4535 (diff)
downloadruby-311b7154839b91c87ee40908ac6d3f5c330d7b11.tar.gz
test: use assert_not_*
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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