Sha256: 2c0fd2a99d923ab58de2ac97522ac4f66c1142640e6bc914a22e1101ecdacc90
Contents?: true
Size: 375 Bytes
Versions: 48
Compression:
Stored size: 375 Bytes
Contents
require 'test/unit/assertions' module Beaker module CommandFactory include Test::Unit::Assertions def execute(command, options={}, &block) result = self.exec(Command.new(command), options) if block_given? yield result else result.stdout.chomp end end def fail_test(msg) assert(false, msg) end end end
Version data entries
48 entries across 48 versions & 1 rubygems