summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorChristoph <chris@inferno.nadir.org>2015-11-24 17:15:12 +0100
committerChristoph <chris@inferno.nadir.org>2015-11-25 15:11:15 +0100
commit2ac3b7c2e3283e5b0f48e6dd3d76c0192ee96a44 (patch)
treeefcca351ba23b292711a0c9a4b8cf1356f28680d /spec/spec_helper.rb
parent5ef2f9dd23b952c625a59f48785f8ee82916d41b (diff)
test if couchrest gets installed with the correct version
the old unit tests were not working anymore
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
new file mode 100644
index 0000000..b55ede8
--- /dev/null
+++ b/spec/spec_helper.rb
@@ -0,0 +1,9 @@
+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')
+end