summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorvarac <varac@users.noreply.github.com>2015-11-25 15:47:00 +0100
committervarac <varac@users.noreply.github.com>2015-11-25 15:47:00 +0100
commit83a4d75bf8a480a98ac6fcdc220db59b9133112e (patch)
treeefcca351ba23b292711a0c9a4b8cf1356f28680d /spec/spec_helper.rb
parentd4e0579ec88e999d42c9f4ffd32489396dce63c4 (diff)
parent2ac3b7c2e3283e5b0f48e6dd3d76c0192ee96a44 (diff)
Merge pull request #4 from pixelated/fix_couchbase_version
ensure couchrest is not too new
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