summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-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