summaryrefslogtreecommitdiff
path: root/test/support/http_adapter_helper.rb
blob: 6817e1e5a418d07698d9231df071999bcc22026b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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