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

Version Path
specinfra-2.11.4 spec/spec_helper.rb
specinfra-2.11.3 spec/spec_helper.rb
specinfra-2.11.2 spec/spec_helper.rb
specinfra-2.11.1 spec/spec_helper.rb
specinfra-2.11.0 spec/spec_helper.rb
specinfra-2.10.4 spec/spec_helper.rb
specinfra-2.10.3 spec/spec_helper.rb
specinfra-2.10.2 spec/spec_helper.rb
specinfra-2.10.1 spec/spec_helper.rb
specinfra-2.10.0 spec/spec_helper.rb
specinfra-2.9.3 spec/spec_helper.rb
specinfra-2.9.2 spec/spec_helper.rb
specinfra-2.9.1 spec/spec_helper.rb
specinfra-2.9.0 spec/spec_helper.rb
specinfra-2.8.0 spec/spec_helper.rb
specinfra-2.7.0 spec/spec_helper.rb
specinfra-2.6.0 spec/spec_helper.rb
specinfra-2.5.0 spec/spec_helper.rb
specinfra-2.4.5 spec/spec_helper.rb
specinfra-2.4.4 spec/spec_helper.rb