diff options
author | Azul <azul@riseup.net> | 2016-06-30 13:47:40 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2016-06-30 13:47:40 +0200 |
commit | fe9a23419f9a875a98fc05dc22e2ad6c5f6dbe3b (patch) | |
tree | 32fa0be1bc2820dc7e252c6f5d4afe2848c58f98 /test/unit/adapters | |
parent | 7802da3d9684c5c78d34e0154f827221803b207b (diff) |
actually use celluloid io for http requests
Diffstat (limited to 'test/unit/adapters')
-rw-r--r-- | test/unit/adapters/celluloid_http_test.rb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/unit/adapters/celluloid_http_test.rb b/test/unit/adapters/celluloid_http_test.rb index 64c7a5d..c3c58b1 100644 --- a/test/unit/adapters/celluloid_http_test.rb +++ b/test/unit/adapters/celluloid_http_test.rb @@ -1,9 +1,19 @@ require 'test_helper' require 'nickserver/adapters/celluloid_http' -require 'byebug' +require 'celluloid/test' class Nickserver::Adapters::CelluloidHttpTest < Minitest::Test + def setup + super + Celluloid.boot + end + + def teardown + Celluloid.shutdown + super + end + def test_successful_request url = 'http://url.to' stub_http_request(:get, url) |