summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJeff McCune <jeff@puppetlabs.com>2012-07-23 09:00:11 -0700
committerJeff McCune <jeff@puppetlabs.com>2012-07-23 09:00:11 -0700
commitf3caf5f49383344228482b93ad533d06244a3cac (patch)
tree9144840436f9aba8d14313ad5c26bb59c6cb5d80 /spec/spec_helper.rb
parent730aee4ef999b73a16d13a6792e10343dbdcabea (diff)
parenta1bab586ba6fcf2b3035898d1002d0a6ef89d7c8 (diff)
downloadpuppet-stdlib-f3caf5f49383344228482b93ad533d06244a3cac.tar.gz
puppet-stdlib-f3caf5f49383344228482b93ad533d06244a3cac.tar.bz2
Merge branch '2.2.x' into maint/2.3.x/merge_up_2.2.x
* 2.2.x: (Maint) Rename PuppetlabsSpec::Puppet{Seams,Internals} (Maint) use PuppetlabsSpec::PuppetSeams.parser_scope (Maint) Fix interpreter lines
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb24
1 files changed, 1 insertions, 23 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index f64fcba..8ae9ad3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -10,27 +10,5 @@ require 'mocha'
gem 'rspec', '>=2.0.0'
require 'rspec/expectations'
+require 'puppetlabs_spec_helper/module_spec_helper'
-# So everyone else doesn't have to include this base constant.
-module PuppetSpec
- FIXTURE_DIR = File.join(dir = File.expand_path(File.dirname(__FILE__)), "fixtures") unless defined?(FIXTURE_DIR)
-end
-
-# TODO: ultimately would like to move these requires into the puppet_spec_helper.rb file, but the namespaces
-# are not currently the same between the two, so tests would need to be modified. Not ready to undertake that
-# just yet.
-require 'puppet_spec/files'
-
-require 'puppet_spec_helper'
-
-
-RSpec.configure do |config|
-
- config.before :each do
- GC.disable
- end
-
- config.after :each do
- GC.enable
- end
-end