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