]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
Merge branch '2.3.x'
authorJeff McCune <jeff@puppetlabs.com>
Mon, 23 Jul 2012 22:59:52 +0000 (15:59 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Mon, 23 Jul 2012 22:59:52 +0000 (15:59 -0700)
* 2.3.x:
  (Maint) Don't mock with mocha
  (Maint) Fix up the get_module_path parser function
  (Maint) use PuppetlabsSpec::PuppetSeams.parser_scope (2.3.x)
  (Maint) Rename PuppetlabsSpec::Puppet{Seams,Internals}
  (Maint) use PuppetlabsSpec::PuppetSeams.parser_scope
  (Maint) Fix interpreter lines

Conflicts:
spec/spec_helper.rb
spec/unit/puppet/parser/functions/get_module_path_spec.rb

1  2 
spec/spec_helper.rb

index 3fdcbbc4f5eead654a88bd38b9265f57612f2318,8ae9ad32901206efcb36d373c76a0bc15bd59472..e269b90dff6f6501ac75ca4407ca747303e14728
@@@ -1,12 -1,14 +1,13 @@@
- require 'puppetlabs_spec_helper/puppet_spec_helper'
+ dir = File.expand_path(File.dirname(__FILE__))
+ $LOAD_PATH.unshift File.join(dir, 'lib')
  
- RSpec.configure do |config|
+ # Don't want puppet getting the command line arguments for rake or autotest
+ ARGV.clear
  
-   config.before :each do
-     GC.disable
-   end
+ require 'puppet'
+ require 'facter'
+ require 'mocha'
+ gem 'rspec', '>=2.0.0'
+ require 'rspec/expectations'
  
-   config.after :each do
-     GC.enable
-   end
- end
+ require 'puppetlabs_spec_helper/module_spec_helper'
 -