summaryrefslogtreecommitdiff
path: root/test/remote/celluloid_http_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/remote/celluloid_http_test.rb')
-rw-r--r--test/remote/celluloid_http_test.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/test/remote/celluloid_http_test.rb b/test/remote/celluloid_http_test.rb
index 46a5259..da5f5d7 100644
--- a/test/remote/celluloid_http_test.rb
+++ b/test/remote/celluloid_http_test.rb
@@ -1,22 +1,15 @@
require 'test_helper'
+require 'support/celluloid_test'
require 'nickserver/adapters/celluloid_http'
-class Nickserver::Adapters::CelluloidHttpTest < Minitest::Test
-
- def setup
- super
- Celluloid.boot
- end
-
- def teardown
- Celluloid.shutdown
- super
- end
+class Nickserver::Adapters::CelluloidHttpTest < CelluloidTest
def test_https_for_hkp
url = Nickserver::Config.hkp_url
status, _body = adapter.get url
assert_equal 404, status
+ rescue HTTP::ConnectionError => e
+ skip "could not talk to hkp server: #{e}"
end
protected