diff options
author | James Shubin <james@shubin.ca> | 2014-10-10 14:49:44 -0400 |
---|---|---|
committer | James Shubin <james@shubin.ca> | 2014-10-10 14:49:44 -0400 |
commit | f24cca2ac8d138aae71c019a9bf6f311395f562d (patch) | |
tree | 0f4512fdba461839588626d792be0ee08bb7d06e /spec | |
parent | 6c962083d8b100dcaeb6f11dbe61e6071f3d13f0 (diff) | |
download | puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.tar.gz puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.tar.xz puppet-gluster-f24cca2ac8d138aae71c019a9bf6f311395f562d.zip |
Infra update for puppet-gluster...
w00t, c-i, and automatic pushing.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..b51de3a --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,18 @@ +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 + |