Sha256: 863da9f8d227b40f2c375ce9c97f41f2642462260db58d12baae2a2f40ae5f81
Contents?: true
Size: 617 Bytes
Versions: 155
Compression:
Stored size: 617 Bytes
Contents
Before do # Using "announce" causes massive warnings on 1.9.2 @puts = true @original_rubylib = ENV['RUBYLIB'] ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s end After do ENV['RUBYLIB'] = @original_rubylib end Around do |scenario, block| # Note that self in an Around hook is the instance of the world # (here, a DebifyWorld) for the current scenario. initialize begin block.call ensure unless ENV['KEEP_CONTAINERS'] containers.each do |c| c.remove(force: true) end networks.each do |n| n.remove end end end end
Version data entries
155 entries across 155 versions & 1 rubygems