From f14ab8a15c76c72c2a8cb92cdd8d79bae613e6ca Mon Sep 17 00:00:00 2001 From: Jonathan Thurman Date: Wed, 14 Nov 2012 11:43:57 -0800 Subject: Create spec tests for all classes/defines and perform most cleanup recommended by puppet-lint --- spec/spec_helper.rb | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'spec/spec_helper.rb') 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' -- cgit v1.2.3