Sha256: bdb87364af8ba57ff1b67cebc571928205a20d5e0a1f1f54319e2feb19615542
Contents?: true
Size: 452 Bytes
Versions: 47
Compression:
Stored size: 452 Bytes
Contents
require 'specinfra' require 'rspec/mocks/standalone' require 'rspec/its' require 'specinfra/helper/set' include Specinfra::Helper::Set set :backend, :exec module Specinfra module Backend class Ssh def run_command(cmd, opts={}) CommandResult.new :stdout => nil, :exit_status => 0 end end end end module GetCommand def get_command(method, *args) Specinfra.command.get(method, *args) end end include GetCommand
Version data entries
47 entries across 47 versions & 1 rubygems