2014-05-16 04:08:35 +00:00
|
|
|
dir = File.expand_path(File.dirname(__FILE__))
|
|
|
|
$LOAD_PATH.unshift File.join(dir, 'lib')
|
|
|
|
|
|
|
|
require 'mocha'
|
|
|
|
require 'puppet'
|
|
|
|
require 'rspec'
|
|
|
|
|
2015-02-03 23:06:30 +00:00
|
|
|
require 'puppet_x/puppetlabs/strings'
|
2014-08-26 23:57:55 +00:00
|
|
|
|
2014-08-19 17:44:40 +00:00
|
|
|
RSpec.configure do |config|
|
2014-05-16 04:08:35 +00:00
|
|
|
config.mock_with :mocha
|
|
|
|
end
|
2014-08-26 23:57:55 +00:00
|
|
|
|