diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-11 13:15:33 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-11 13:15:33 +0100 |
commit | 1f1e5599b7a527b9889b5d2c8a92df8b2916cde7 (patch) | |
tree | 04edffd598bc3df9655b2e4981d9a348be6f4812 /spec/spec_helper.rb | |
parent | 001bbc5ff82337e6ddc7b13fb337b43ed36d2dee (diff) | |
parent | a81984c77ed1efb56e978d8b5050b6c3ec409d80 (diff) | |
download | puppet-common-1f1e5599b7a527b9889b5d2c8a92df8b2916cde7.tar.gz puppet-common-1f1e5599b7a527b9889b5d2c8a92df8b2916cde7.tar.bz2 |
Merge remote branch 'shared/master'
Conflicts:
lib/puppet/parser/functions/split.rb
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb new file mode 100644 index 0000000..6ba62e1 --- /dev/null +++ b/spec/spec_helper.rb @@ -0,0 +1,16 @@ +require 'pathname' +dir = Pathname.new(__FILE__).parent +$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib') +require 'puppet' +gem 'rspec', '>= 1.2.9' +require 'spec/autorun' + +Dir[File.join(File.dirname(__FILE__), 'support', '*.rb')].each do |support_file| + require support_file +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 |