Sha256: d3084b07e5b4c726ead4cb576c4531baabb0dfdb3278d54dd8c328b0b9894893
Contents?: true
Size: 625 Bytes
Versions: 2
Compression:
Stored size: 625 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 def up @containers.up end def down @containers.stop_client @containers.down end def start_client @containers.start_client Client.new(@containers) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
httpotemkin-0.0.3 | lib/test.rb |
httpotemkin-0.0.2 | lib/test.rb |