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.14.4 spec/spec_helper.rb
specinfra-2.14.3 spec/spec_helper.rb
specinfra-2.14.2 spec/spec_helper.rb
specinfra-2.14.1 spec/spec_helper.rb
specinfra-2.14.0 spec/spec_helper.rb
specinfra-2.13.1 spec/spec_helper.rb
specinfra-2.13.0 spec/spec_helper.rb
specinfra-2.12.7 spec/spec_helper.rb
specinfra-2.12.6 spec/spec_helper.rb
specinfra-2.12.5 spec/spec_helper.rb
specinfra-2.12.4 spec/spec_helper.rb
specinfra-2.12.3 spec/spec_helper.rb
specinfra-2.12.1 spec/spec_helper.rb
specinfra-2.12.0 spec/spec_helper.rb
specinfra-2.11.10 spec/spec_helper.rb
specinfra-2.11.9 spec/spec_helper.rb
specinfra-2.11.8 spec/spec_helper.rb
specinfra-2.11.7 spec/spec_helper.rb
specinfra-2.11.6 spec/spec_helper.rb
specinfra-2.11.5 spec/spec_helper.rb