From 92c86fc4e1e6dcb86793992e69dfd0608c118c9a Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 11 Jun 2016 10:20:06 +0200 Subject: use the adapter not EM in hkp source --- test/integration/hkp_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/integration') 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 -- cgit v1.2.3