diff options
author | Micah <micah@leap.se> | 2016-07-12 16:46:10 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-07-12 16:46:10 -0400 |
commit | f5775156d8d8800247b8917ab6212c7eed16a124 (patch) | |
tree | cbfb53e2a37dbc9f5f8132819b9b03d5839d510e /puppet/modules/unbound/spec | |
parent | 40ea2656f072e23bbbccd22c39fb29a36390fa3a (diff) |
git subrepo clone https://leap.se/git/puppet_unbound puppet/modules/unbound
subrepo:
subdir: "puppet/modules/unbound"
merged: "a26b91d"
upstream:
origin: "https://leap.se/git/puppet_unbound"
branch: "master"
commit: "a26b91d"
git-subrepo:
version: "0.3.0"
origin: "https://github.com/ingydotnet/git-subrepo"
commit: "1e79595"
Change-Id: I83719264de2c716035d34599d541cadd42319b74
Diffstat (limited to 'puppet/modules/unbound/spec')
-rw-r--r-- | puppet/modules/unbound/spec/spec_helper.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/puppet/modules/unbound/spec/spec_helper.rb b/puppet/modules/unbound/spec/spec_helper.rb new file mode 100644 index 00000000..5fda5887 --- /dev/null +++ b/puppet/modules/unbound/spec/spec_helper.rb @@ -0,0 +1,17 @@ +dir = File.expand_path(File.dirname(__FILE__)) +$LOAD_PATH.unshift File.join(dir, 'lib') + +require 'mocha' +require 'puppet' +require 'rspec' +require 'spec/autorun' + +Spec::Runner.configure do |config| + config.mock_with :mocha +end + +# We need this because the RAL uses 'should' as a method. This +# allows us the same behaviour but with a different method name. +class Object + alias :must :should +end |