diff options
author | Azul <azul@riseup.net> | 2016-06-11 10:20:06 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-06-11 10:20:06 +0200 |
commit | 92c86fc4e1e6dcb86793992e69dfd0608c118c9a (patch) | |
tree | d91707d8193ad90848370aa415b65d7218d148bf /test | |
parent | 10a57e4f92432ff2b82c4a6bb5027bb3bcbdfab9 (diff) |
use the adapter not EM in hkp source
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/hkp_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/hkp_test.rb b/test/integration/hkp_test.rb index 0410c4a..3988fa5 100644 --- a/test/integration/hkp_test.rb +++ b/test/integration/hkp_test.rb @@ -1,5 +1,6 @@ require 'test_helper' require 'nickserver/hkp/source' +require 'nickserver/adapters/em_http' class HkpTest < Minitest::Test @@ -111,7 +112,7 @@ class HkpTest < Minitest::Test def assert_response_for_uid(uid, &block) EM.run do - Nickserver::Hkp::Source.new(nil).query(uid, &block) + Nickserver::Hkp::Source.new(Nickserver::Adapters::EmHttp.new).query(uid, &block) EM.stop end end |