Sha256: 1428a34e9c49dfa9316e90b1d6a0830c1a5e8a57c464b6f8448f9cd81b4af048

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

dir = File.expand_path(File.dirname(__FILE__))

SPECDIR = dir

$LOAD_PATH.unshift("#{dir}/")
$LOAD_PATH.unshift("#{dir}/../lib")

require 'rubygems'
require 'mocha'
require 'spec'
require 'facter'

# load any monkey-patches
Dir["#{dir}/monkey_patches/*.rb"].map { |file| require file }

Spec::Runner.configure do |config|
    config.mock_with :mocha
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facter-1.5.8 spec/spec_helper.rb