]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/sysctl/spec/spec_helper.rb
try again, with puppetforge modules, correctly included now
[dsa-puppet.git] / 3rdparty / modules / sysctl / spec / spec_helper.rb
diff --git a/3rdparty/modules/sysctl/spec/spec_helper.rb b/3rdparty/modules/sysctl/spec/spec_helper.rb
new file mode 100644 (file)
index 0000000..4267a3c
--- /dev/null
@@ -0,0 +1,10 @@
+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')
+  c.environmentpath = File.join(Dir.pwd, 'spec')
+  c.alias_it_should_behave_like_to(:it_configures, 'configures')
+end