summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nickserver/adapters/celluloid_http.rb4
-rw-r--r--test/unit/request_handler_test.rb2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/nickserver/adapters/celluloid_http.rb b/lib/nickserver/adapters/celluloid_http.rb
index d326b8a..44b6fe8 100644
--- a/lib/nickserver/adapters/celluloid_http.rb
+++ b/lib/nickserver/adapters/celluloid_http.rb
@@ -6,7 +6,9 @@ require 'http'
module Nickserver::Adapters
class CelluloidHttp
- include Celluloid::IO
+ silence_warnings do
+ include Celluloid::IO
+ end
def get(url, options = {})
response = HTTP.get url,
diff --git a/test/unit/request_handler_test.rb b/test/unit/request_handler_test.rb
index 420e74b..6c7a036 100644
--- a/test/unit/request_handler_test.rb
+++ b/test/unit/request_handler_test.rb
@@ -25,7 +25,7 @@ class Nickserver::RequestHandlerTest < Minitest::Test
Nickserver::Hkp::Source.stub :new, source do
assert_response status: 200, content: "200 fake content"
end
- end
+ end
def test_fingerprint_to_short
handle fingerprint: ['44F2F455E28']