diff options
Diffstat (limited to 'files/puppet/modules/pixelated/spec/spec_helper.rb')
-rw-r--r-- | files/puppet/modules/pixelated/spec/spec_helper.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/files/puppet/modules/pixelated/spec/spec_helper.rb b/files/puppet/modules/pixelated/spec/spec_helper.rb new file mode 100644 index 0000000..fb6ab97 --- /dev/null +++ b/files/puppet/modules/pixelated/spec/spec_helper.rb @@ -0,0 +1,12 @@ +require 'rspec-puppet' +require 'rspec-puppet-utils' +require 'puppetlabs_spec_helper/module_spec_helper' +require 'puppetlabs_spec_helper/puppetlabs_spec_helper' + +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') + c.hiera_config = 'spec/fixtures/hiera/hiera.yaml' +end |