Sha256: 1f375cab4983fafcb76464d0e95ed1a93988facaeac02d220271802e313a8aac

Contents?: true

Size: 390 Bytes

Versions: 29

Compression:

Stored size: 390 Bytes

Contents

require 'specinfra'
require 'rspec/mocks/standalone'
require 'rspec/its'

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

29 entries across 29 versions & 1 rubygems

Version Path
specinfra-2.2.4 spec/spec_helper.rb
specinfra-2.2.3 spec/spec_helper.rb
specinfra-2.2.2 spec/spec_helper.rb
specinfra-2.2.1 spec/spec_helper.rb
specinfra-2.2.0 spec/spec_helper.rb
specinfra-2.1.1 spec/spec_helper.rb
specinfra-2.1.0 spec/spec_helper.rb
specinfra-2.0.4 spec/spec_helper.rb
specinfra-2.0.3 spec/spec_helper.rb
specinfra-2.0.2 spec/spec_helper.rb
specinfra-2.0.1 spec/spec_helper.rb
specinfra-2.0.0 spec/spec_helper.rb
specinfra-2.0.0.beta52 spec/spec_helper.rb
specinfra-2.0.0.beta51 spec/spec_helper.rb
specinfra-2.0.0.beta50 spec/spec_helper.rb
specinfra-2.0.0.beta49 spec/spec_helper.rb
specinfra-2.0.0.beta48 spec/spec_helper.rb
specinfra-2.0.0.beta47 spec/spec_helper.rb
specinfra-2.0.0.beta46 spec/spec_helper.rb
specinfra-2.0.0.beta45 spec/spec_helper.rb