Sha256: 753065baa873f3b5c57ba47924743337ae0cb76a8095e8b2ca680eb2034864c6

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

module Httpotemkin
  class Test
    def initialize(out: $stdout)
      @containers = Containers.new
      @containers.out = out
    end

    def add_server(name)
      @containers.add_server(name)
    end

    def run
      @containers.up
      @containers.start_client
      begin
        yield Client.new(@containers)
      ensure
        @containers.stop_client
        @containers.down
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
httpotemkin-0.0.1 lib/test.rb