Sha256: fda0b2d984102575818628628823c0cb5f4aefd820bf725f6b154b1abcc36f36

Contents?: true

Size: 494 Bytes

Versions: 285

Compression:

Stored size: 494 Bytes

Contents

require 'specinfra'
require 'rspec/mocks/standalone'
require 'rspec/its'
require 'specinfra/helper/set'
require 'specinfra/helper/host_inventory'
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

285 entries across 285 versions & 3 rubygems

Version Path
specinfra-2.76.5 spec/spec_helper.rb
specinfra-2.76.4 spec/spec_helper.rb
specinfra-2.76.3 spec/spec_helper.rb
specinfra-2.76.2 spec/spec_helper.rb
specinfra-2.76.1 spec/spec_helper.rb
specinfra-2.76.0 spec/spec_helper.rb
specinfra-2.75.1 spec/spec_helper.rb
specinfra-rb19-2.44.7 spec/spec_helper.rb
specinfra-2.75.0 spec/spec_helper.rb
specinfra-2.74.0 spec/spec_helper.rb
specinfra-2.73.4 spec/spec_helper.rb
specinfra-2.73.3 spec/spec_helper.rb
specinfra-2.73.2 spec/spec_helper.rb
specinfra-2.73.1 spec/spec_helper.rb
specinfra-2.73.0 spec/spec_helper.rb
specinfra-2.72.1 spec/spec_helper.rb
specinfra-2.72.0 spec/spec_helper.rb
specinfra-2.71.3 spec/spec_helper.rb
specinfra-2.71.2 spec/spec_helper.rb
specinfra-2.71.1 spec/spec_helper.rb