summaryrefslogtreecommitdiffstats
path: root/spec/unit/reports
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2010-07-02 22:19:28 -0700
committerJames Turnbull <james@lovedthanlost.net>2010-09-03 02:53:01 +1000
commit07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b (patch)
tree9e8aa9c180f8cdff17bc6c000f9d4ce5dcc560d8 /spec/unit/reports
parent9e696164237821fb6b48a913395240d376f8c3da (diff)
downloadpuppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.tar.gz
puppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.tar.xz
puppet-07d0be4684f75e6edc6fbb5d1397dd79b8ca2b6b.zip
[#4308] Remove puppettest from specs
The less stuff being done in the spec_helper the better for reasoning about what's happening in the tests. puppettest.rb does a lot of things that aren't necessary for the specs, so this patch gets those things out of the spec_helper. Reviewed by: Jesse Wolfe
Diffstat (limited to 'spec/unit/reports')
-rwxr-xr-xspec/unit/reports/tagmail_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/reports/tagmail_spec.rb b/spec/unit/reports/tagmail_spec.rb
index 4349e999d..59cb5b2b8 100755
--- a/spec/unit/reports/tagmail_spec.rb
+++ b/spec/unit/reports/tagmail_spec.rb
@@ -3,12 +3,12 @@
Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f) : Dir.chdir("..") { s.call(f) } }).call("spec/spec_helper.rb") }
require 'puppet/reports'
-require 'puppettest'
+require 'puppettest/support/utils'
tagmail = Puppet::Reports.report(:tagmail)
describe tagmail do
- extend PuppetTest
+ extend PuppetTest::Support::Utils
before do
@processor = Puppet::Transaction::Report.new