diff options
author | elijah <elijah@riseup.net> | 2013-05-13 00:12:49 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-05-13 00:12:49 -0700 |
commit | b078659defeead5b68ca2f387d0e308fa7511eb4 (patch) | |
tree | 34cfa1b1c832da5bab0661eb4378dfe312a2a4fd /test/test_helper.rb | |
parent | 887de21aeae8c784ff49c2d34fe2c7606d5bc94e (diff) |
s/sks_url/hkp_url
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 634f1a3..757bcd1 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -29,14 +29,14 @@ class MiniTest::Unit::TestCase def stub_sks_vindex_reponse(uid, opts = {}) options = {:status => 200, :body => ""}.merge(opts) - stub_http_request(:get, Nickserver::Config.sks_url).with( + stub_http_request(:get, Nickserver::Config.hkp_url).with( :query => {:op => 'vindex', :search => uid, :exact => 'on', :options => 'mr', :fingerprint => 'on'} ).to_return(options) end def stub_sks_get_reponse(key_id, opts = {}) options = {:status => 200, :body => ""}.merge(opts) - stub_http_request(:get, Nickserver::Config.sks_url).with( + stub_http_request(:get, Nickserver::Config.hkp_url).with( :query => {:op => 'get', :search => "0x"+key_id, :exact => 'on', :options => 'mr'} ).to_return(options) end |