summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-05-25 12:55:09 +0200
committerAzul <azul@riseup.net>2016-05-25 12:55:09 +0200
commit62e27158a4fda768377df17430d154c2aae03f5d (patch)
tree7f47dd1db6163d898d62c2af47800c31c28eda83 /test
parentb883fa9e91ffd7c526a17f37df54ef63c5c6a4b8 (diff)
rubocop: fix deprecated class methods
Diffstat (limited to 'test')
-rw-r--r--test/unit/hkp_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/hkp_test.rb b/test/unit/hkp_test.rb
index f23fe72..0ecde2d 100644
--- a/test/unit/hkp_test.rb
+++ b/test/unit/hkp_test.rb
@@ -98,7 +98,7 @@ class HkpTest < Minitest::Test
stub_config(:hkp_url, hkp_url) do
stub_config(:hkp_ca_file, ca_file) do
#stub_config(:hkp_ca_file, file_path('autistici-ca.pem')) do
- assert File.exists?(Nickserver::Config.hkp_ca_file)
+ assert File.exist?(Nickserver::Config.hkp_ca_file)
uid = 'elijah@riseup.net'
test_em_callback "Nickserver::HKP::FetchKeyInfo.new.search '#{uid}'" do |keys|
assert_equal 1, keys.size