From 5a93f2d29c96e649440101f2d1ca28247631b59e Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 24 Sep 2016 12:00:56 +0200 Subject: use plain http.rb rather than celluloid i/o Turns out http.rb does not support celluloid i/o andymore and we were not making use of it anyway. Here's what https://github.com/httprb/http/wiki/Thread-Safety says: (NOTE: this gem previously supported Celluloid::IO, but that support was removed to add the current timeout backend. It may be added back in a future version) So now we have a plain http.rb adapter and use that as the default. This prevents actors from crashing in the adapter (as we don't have any). --- test/support/http_stub_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/support') diff --git a/test/support/http_stub_helper.rb b/test/support/http_stub_helper.rb index cb9b578..808fd01 100644 --- a/test/support/http_stub_helper.rb +++ b/test/support/http_stub_helper.rb @@ -1,7 +1,7 @@ module HttpStubHelper def stubbing_http - Nickserver::Adapters::CelluloidHttp.stub :new, adapter do + Nickserver::Adapters::Http.stub :new, adapter do yield end adapter.verify -- cgit v1.2.3