diff options
author | Michael Stahnke <stahnma@puppetlabs.com> | 2012-10-07 12:40:10 -0700 |
---|---|---|
committer | Michael Stahnke <stahnma@puppetlabs.com> | 2012-10-18 17:14:00 -0700 |
commit | f3f8eabdf1bc8d73dd8a5ede8f197fcd834d78ea (patch) | |
tree | 2dec497f40ca1083ec4d8893cd451c6b284371be /spec | |
download | puppet-avahi-f3f8eabdf1bc8d73dd8a5ede8f197fcd834d78ea.tar.gz puppet-avahi-f3f8eabdf1bc8d73dd8a5ede8f197fcd834d78ea.tar.bz2 |
Initial commit
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..5fda588 --- /dev/null +++ b/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 |