Sha256: f3830e28ccffd552c3e2170fc71ac4c1b8062c625d363ed016fa8a15ef481888
Contents?: true
Size: 782 Bytes
Versions: 1
Compression:
Stored size: 782 Bytes
Contents
require 'serverspec' require 'pathname' require 'rspec/mocks/standalone' set :backend, :exec PROJECT_ROOT = (Pathname.new(File.dirname(__FILE__)) + '..').expand_path module Specinfra module Backend class Exec < Base def run_command cmd CommandResult.new({ :stdout => ::Specinfra.configuration.stdout, :stderr => ::Specinfra.configuration.stderr, :exit_status => 0, :exit_signal => nil, }) end end class Cmd < Base def run_command cmd CommandResult.new({ :stdout => ::Specinfra.configuration.stdout, :stderr => ::Specinfra.configuration.stderr, :exit_status => 0, :exit_signal => nil, }) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
serverspec-2.0.0.beta20 | spec/spec_helper.rb |