summaryrefslogtreecommitdiff
path: root/test/support/http_adapter_helper.rb
blob: a22b6961730cb74b739b43cdf94f139697d47ae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'nickserver/adapters/celluloid_http'

module HttpAdapterHelper
  def setup
    super
    @adapter = Nickserver::Adapters::CelluloidHttp.new
  end

  def teardown
    @adapter.terminate
    super
  end

  protected

  attr_reader :adapter
end