summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: e269b90dff6f6501ac75ca4407ca747303e14728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')

# Don't want puppet getting the command line arguments for rake or autotest
ARGV.clear

require 'puppet'
require 'facter'
require 'mocha'
gem 'rspec', '>=2.0.0'
require 'rspec/expectations'

require 'puppetlabs_spec_helper/module_spec_helper'