summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-13 11:21:59 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-03-13 11:21:59 +0100
commit0b807da215eadc363e9c9f67d5da37c034cf73dc (patch)
tree293ddb309b7a9af8b6e0300c5f4214ccb00026a6 /spec/spec_helper.rb
parentd404a31e789d9e2d90aa1238374a11fd3d3f565b (diff)
Fix augeas::lens with new module organization
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 931d35c..3106389 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -11,6 +11,9 @@ gem 'rspec', '>=2.0.0'
require 'rspec/expectations'
require 'puppetlabs_spec_helper/module_spec_helper'
+require 'rspec-puppet'
+
+fixture_path = File.expand_path(File.join(__FILE__, '..', 'fixtures'))
RSpec.configure do |config|
# FIXME REVISIT - We may want to delegate to Facter like we do in
@@ -25,4 +28,7 @@ RSpec.configure do |config|
Facter.clear
Facter.clear_messages
end
+ config.module_path = File.join(fixture_path, 'modules')
+ config.manifest_dir = File.join(fixture_path, 'manifests')
+ config.color_enabled = true
end