diff options
author | Steffen Zieger <me@saz.sh> | 2012-11-19 04:45:26 -0800 |
---|---|---|
committer | Steffen Zieger <me@saz.sh> | 2012-11-19 04:45:26 -0800 |
commit | 55d2f576e6f17719859f6230790ba7453c550a4e (patch) | |
tree | 1cd26f3247ca0505dc8a3f5c4d9eea24b560d202 /spec/spec_helper.rb | |
parent | e34a766c2d294a09af091935039058f160293c9c (diff) | |
parent | f14ab8a15c76c72c2a8cb92cdd8d79bae613e6ca (diff) |
Merge pull request #13 from newrelic/update-rake-lint
Create spec tests and puppet-lint cleanup
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a4aeeae..2c6f566 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,18 +1 @@ -require 'pathname' -dir = Pathname.new(__FILE__).parent -$LOAD_PATH.unshift(dir, dir + 'lib', dir + '../lib') - -require 'mocha' -require 'puppet' -gem 'rspec', '=1.2.9' -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 +require 'puppetlabs_spec_helper/module_spec_helper' |