Sha256: 2353b24ca183eb8b30545b6b608286d9051b249030e4c2c60e28dda7367f521c
Contents?: true
Size: 293 Bytes
Versions: 1
Compression:
Stored size: 293 Bytes
Contents
module GzDocker # Allows testing of a docker image module TestHelper def docker(image, command) require 'ostruct' result = OpenStruct.new result.output = `docker run #{image} #{command}` result.status = $CHILD_STATUS.exitstatus result end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gz_release-0.0.1 | lib/gz_release/test_helper.rb |