require 'puppet'
require 'mocha'

dir = File.expand_path(File.join(File.dirname(__FILE__), ".."))
$LOAD_PATH.unshift(dir, dir + File.join('..', 'lib'))

RSpec.configure do |config|
  config.mock_with :mocha
end

require 'puppet'
require 'mocha'

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), ".."))
$LOAD_PATH.unshift(File.join(PROJECT_ROOT, "lib"))

RSpec.configure do |config|
  config.mock_with :mocha
end

Update spec helper constant for project_root
Update spec helper constant for project_root
