blob: 5e28e1fe85681032775ff6c4bd53a92e38aa820f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require 'mocha'
require 'rspec-puppet'
fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
RSpec.configure do |c|
c.module_path = File.join(fixture_path, 'modules')
c.manifest_dir = File.join(fixture_path, 'manifests')
end
dir = File.expand_path(File.dirname(__FILE__))
$LOAD_PATH.unshift File.join(dir, 'lib')
|